#9873CF#9873CF
#9873CF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.139 H 301.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9873CF |
|---|---|
| RGB | rgb(152, 115, 207) |
| HSL | hsl(264, 49%, 63%) |
| HSV | hsv(264, 44%, 81%) |
| CMYK | cmyk(26.6%, 44.4%, 0%, 18.8%) |
| CIE-LAB | lab(55.52, 33.42, -42.40) |
| CIE-LCH | lch(55.52, 53.99, 308.24°) |
| OKLab | oklab(63.01% 0.0715 -0.1187) |
| OKLCH | oklch(63.01% 0.139 301.1) |
| XYZ | xyz(30.3396, 23.4418, 61.9457) |
| Luminance | 0.2344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.85
Deep Lilac
#966EBD
ΔE00 3.57
Wisteria
#A87DC2
ΔE00 6.34
Amethyst
#9B5FC0
ΔE00 6.43
Light Urple
#B36FF6
ΔE00 7.14
Soft Purple
#A66FB5
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9873CF #AACF73
analogous
#737CCF #9873CF #C673CF
triadic
#9873CF #CF9873 #73CF98
tetradic
#9873CF #CF737C #AACF73 #73CFC6
square
#9873CF #CF737C #AACF73 #73CFC6
split-complementary
#9873CF #CFC673 #7CCF73
monochromatic
#5A3395 #7645BF #9873CF #BAA1DF #DBCEEE
Accessibility & contrast
On white
3.69
#9873CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#9873CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9873CF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9873CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9873CF | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5985D2
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#8E8397
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9873cf; /* rgb */ color: rgb(152, 115, 207); /* oklch */ color: oklch(63.0% 0.139 301.1);
Tailwind
colors: {
custom: {
50: '#b89cde',
500: '#9873cf',
950: '#000000',
},
}SCSS
$custom: #9873cf; $custom-light: #b89cde; $custom-dark: #000000;
JSON
{
"hex": "#9873cf",
"rgb": {
"r": 152,
"g": 115,
"b": 207
},
"hsl": {
"h": 264.13,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.63014,
"c": 0.13855,
"h": 301.1
},
"luminance": 0.23442
}Semantic roles & 50–950 ramp
primary
#9873CF
secondary
#D2DFBE
accent
#BC2981
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83