#9867CF#9867CF
#9867CF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.158 H 303.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9867CF |
|---|---|
| RGB | rgb(152, 103, 207) |
| HSL | hsl(268, 52%, 61%) |
| HSV | hsv(268, 50%, 81%) |
| CMYK | cmyk(26.6%, 50.2%, 0%, 18.8%) |
| CIE-LAB | lab(52.82, 40.20, -46.69) |
| CIE-LCH | lch(52.82, 61.61, 310.73°) |
| OKLab | oklab(60.99% 0.0879 -0.1311) |
| OKLCH | oklch(60.99% 0.158 303.8) |
| XYZ | xyz(29.0592, 20.8810, 61.5189) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.65
Amethyst
#9B5FC0
ΔE00 3.66
Deep Lilac
#966EBD
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 5.06
Lightish Purple
#A552E6
ΔE00 5.93
Lighter Purple
#A55AF4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9867CF #9ECF67
analogous
#676ACF #9867CF #CC67CF
triadic
#9867CF #CF9867 #67CF98
tetradic
#9867CF #CF676A #9ECF67 #67CFCC
square
#9867CF #CF676A #9ECF67 #67CFCC
split-complementary
#9867CF #CFCC67 #6ACF67
monochromatic
#5B2D8F #793CBD #9867CF #B896DE #D7C4EC
Accessibility & contrast
On white
4.06
#9867CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#9867CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9867CF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9867CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9867CF | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#8E7A91
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9867cf; /* rgb */ color: rgb(152, 103, 207); /* oklch */ color: oklch(61.0% 0.158 303.8);
Tailwind
colors: {
custom: {
50: '#b994de',
500: '#9867cf',
950: '#000000',
},
}SCSS
$custom: #9867cf; $custom-light: #b994de; $custom-dark: #000000;
JSON
{
"hex": "#9867cf",
"rgb": {
"r": 152,
"g": 103,
"b": 207
},
"hsl": {
"h": 268.269,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.60991,
"c": 0.15788,
"h": 303.8
},
"luminance": 0.20881
}Semantic roles & 50–950 ramp
primary
#9867CF
secondary
#CADDB5
accent
#BF2677
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83