#9869C2#9869C2
#9869C2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.6% C 0.139 H 307.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9869C2 |
|---|---|
| RGB | rgb(152, 105, 194) |
| HSL | hsl(272, 42%, 59%) |
| HSV | hsv(272, 46%, 76%) |
| CMYK | cmyk(21.6%, 45.9%, 0%, 23.9%) |
| CIE-LAB | lab(52.59, 35.99, -39.62) |
| CIE-LCH | lch(52.59, 53.53, 312.26°) |
| OKLab | oklab(60.6% 0.0836 -0.1105) |
| OKLCH | oklch(60.6% 0.139 307.1) |
| XYZ | xyz(27.7361, 20.6739, 53.5578) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.97
Amethyst
#9B5FC0
ΔE00 2.96
Deep Lavender
#8D5EB7
ΔE00 4.22
Mediumpurple
#9370DB
ΔE00 5.31
Soft Purple
#A66FB5
ΔE00 5.56
Wisteria
#A87DC2
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9869C2 #93C269
analogous
#6B69C2 #9869C2 #C269BF
triadic
#9869C2 #C29869 #69C298
tetradic
#9869C2 #C26B69 #93C269 #69BFC2
square
#9869C2 #C26B69 #93C269 #69BFC2
split-complementary
#9869C2 #BFC269 #69C26B
monochromatic
#5A337E #7A45A9 #9869C2 #B695D4 #D4C0E5
Accessibility & contrast
On white
4.09
#9869C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#9869C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9869C2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9869C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9869C2 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#5F7EC0
Tritanopia (blue-blind)
#92788C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9869c2; /* rgb */ color: rgb(152, 105, 194); /* oklch */ color: oklch(60.6% 0.139 307.1);
Tailwind
colors: {
custom: {
50: '#b895d5',
500: '#9869c2',
950: '#000000',
},
}SCSS
$custom: #9869c2; $custom-light: #b895d5; $custom-dark: #000000;
JSON
{
"hex": "#9869c2",
"rgb": {
"r": 152,
"g": 105,
"b": 194
},
"hsl": {
"h": 271.685,
"s": 42.18,
"l": 58.627
},
"oklch": {
"l": 0.60602,
"c": 0.1386,
"h": 307.1
},
"luminance": 0.20674
}Semantic roles & 50–950 ramp
primary
#9869C2
secondary
#C2D5B2
accent
#D25690
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83