#9876CF#9876CF
#9876CF is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.134 H 300.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9876CF |
|---|---|
| RGB | rgb(152, 118, 207) |
| HSL | hsl(263, 48%, 64%) |
| HSV | hsv(263, 43%, 81%) |
| CMYK | cmyk(26.6%, 43%, 0%, 18.8%) |
| CIE-LAB | lab(56.22, 31.70, -41.30) |
| CIE-LCH | lch(56.22, 52.06, 307.51°) |
| OKLab | oklab(63.54% 0.0673 -0.1155) |
| OKLCH | oklch(63.54% 0.134 300.3) |
| XYZ | xyz(30.6873, 24.1371, 62.0616) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.30
Deep Lilac
#966EBD
ΔE00 3.96
Wisteria
#A87DC2
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 7.26
Soft Purple
#A66FB5
ΔE00 7.38
Light Urple
#B36FF6
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9876CF #ADCF76
analogous
#7680CF #9876CF #C476CF
triadic
#9876CF #CF9876 #76CF98
tetradic
#9876CF #CF7680 #ADCF76 #76CFC4
square
#9876CF #CF7680 #ADCF76 #76CFC4
split-complementary
#9876CF #CFC476 #80CF76
monochromatic
#5A3596 #7649BF #9876CF #BAA3DF #DCD1EF
Accessibility & contrast
On white
3.60
#9876CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#9876CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9876CF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9876CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9876CF | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#6586CD
Tritanopia (blue-blind)
#8E8599
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9876cf; /* rgb */ color: rgb(152, 118, 207); /* oklch */ color: oklch(63.5% 0.134 300.3);
Tailwind
colors: {
custom: {
50: '#b89ede',
500: '#9876cf',
950: '#000000',
},
}SCSS
$custom: #9876cf; $custom-light: #b89ede; $custom-dark: #000000;
JSON
{
"hex": "#9876cf",
"rgb": {
"r": 152,
"g": 118,
"b": 207
},
"hsl": {
"h": 262.921,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.63541,
"c": 0.13368,
"h": 300.3
},
"luminance": 0.24137
}Semantic roles & 50–950 ramp
primary
#9876CF
secondary
#D4E0C1
accent
#BB2A84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83