#9874CF#9874CF
#9874CF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.2% C 0.137 H 300.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9874CF |
|---|---|
| RGB | rgb(152, 116, 207) |
| HSL | hsl(264, 49%, 63%) |
| HSV | hsv(264, 44%, 81%) |
| CMYK | cmyk(26.6%, 44%, 0%, 18.8%) |
| CIE-LAB | lab(55.76, 32.84, -42.04) |
| CIE-LCH | lch(55.76, 53.35, 308.00°) |
| OKLab | oklab(63.19% 0.0701 -0.1176) |
| OKLCH | oklch(63.19% 0.137 300.8) |
| XYZ | xyz(30.4542, 23.6711, 61.9839) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.98
Deep Lilac
#966EBD
ΔE00 3.68
Wisteria
#A87DC2
ΔE00 6.19
Amethyst
#9B5FC0
ΔE00 6.70
Light Urple
#B36FF6
ΔE00 7.21
Soft Purple
#A66FB5
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9874CF #ABCF74
analogous
#747DCF #9874CF #C574CF
triadic
#9874CF #CF9874 #74CF98
tetradic
#9874CF #CF747D #ABCF74 #74CFC5
square
#9874CF #CF747D #ABCF74 #74CFC5
split-complementary
#9874CF #CFC574 #7DCF74
monochromatic
#5A3395 #7647BF #9874CF #BAA1DF #DBCFEE
Accessibility & contrast
On white
3.66
#9874CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#9874CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9874CF
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9874CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9874CF | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#6285CD
Tritanopia (blue-blind)
#8E8498
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9874cf; /* rgb */ color: rgb(152, 116, 207); /* oklch */ color: oklch(63.2% 0.137 300.8);
Tailwind
colors: {
custom: {
50: '#b89cde',
500: '#9874cf',
950: '#000000',
},
}SCSS
$custom: #9874cf; $custom-light: #b89cde; $custom-dark: #000000;
JSON
{
"hex": "#9874cf",
"rgb": {
"r": 152,
"g": 116,
"b": 207
},
"hsl": {
"h": 263.736,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.63189,
"c": 0.13693,
"h": 300.8
},
"luminance": 0.23671
}Semantic roles & 50–950 ramp
primary
#9874CF
secondary
#D3E0BF
accent
#BC2A82
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83