#9370DB color codes
- HEX
- #9370DB
- HEX8
- #9370DBFF
- HEX8 (Android)
- #FF9370DB
- RGB
- rgb(147, 112, 219)
- RGB (%)
- 58%, 44%, 86%
- HSL
- hsl(260, 60%, 65%)
- HSV / HSB
- hsv(260, 49%, 86%)
- CMYK
- cmyk(33%, 49%, 0%, 14%)
- OKLCH
- oklch(0.6269 0.158 296.67)
- OKLCH (%)
- oklch(62.69% 0.158 296.67)
- Decimal
- 9662683
What color is #9370DB?
#9370DB sits at 63% lightness and 0.158 chroma in OKLCH, hue 296.67°. Its nearest named color is MediumPurple (an exact match).
Shades and tints of #9370DB
Tints
Shades
Tones
#9370DB color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #9370DB in CSS
.text { color: #9370DB; }
.background { background-color: #9370DB; }
.border { border: 2px solid #9370DB; }
/* Modern, perceptually uniform */
.text { color: oklch(0.6269 0.158 296.67); }
/* #9370DB at 50% transparency */
.overlay { background-color: #9370DB80; }Is #9370DB accessible?
#9370DB on white text scores 3.76:1; on black text it scores 5.58:1. Black text passes WCAG AA for normal text on #9370DB. Recommended text color on a #9370DB background: black.
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: black
contrast-color() contrast-color(#9370DB) → black WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Purple #800080. See more in the purple family on the colors hub.
Frequently asked questions
- What color is #9370DB?
- #9370DB is MediumPurple. In RGB it is rgb(147, 112, 219), and in HSL hsl(260, 60%, 65%).
- What is #9370DB in RGB?
- #9370DB converts to rgb(147, 112, 219) — red 147, green 112, blue 219.
- What text color is readable on #9370DB?
- Black text — it has the higher contrast ratio (5.58:1) against #9370DB. Black text passes WCAG AA for normal text on #9370DB.