#9869BA#9869BA
#9869BA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.129 H 309.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9869BA |
|---|---|
| RGB | rgb(152, 105, 186) |
| HSL | hsl(275, 37%, 57%) |
| HSV | hsv(275, 44%, 73%) |
| CMYK | cmyk(18.3%, 43.5%, 0%, 27.1%) |
| CIE-LAB | lab(52.20, 34.15, -35.63) |
| CIE-LCH | lch(52.20, 49.35, 313.79°) |
| OKLab | oklab(60.18% 0.0823 -0.099) |
| OKLCH | oklch(60.18% 0.129 309.7) |
| XYZ | xyz(26.8618, 20.3241, 48.9527) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.74
Amethyst
#9B5FC0
ΔE00 3.26
Deep Lavender
#8D5EB7
ΔE00 4.20
Soft Purple
#A66FB5
ΔE00 4.44
Dark Lilac
#9C6DA5
ΔE00 5.81
Wisteria
#A87DC2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9869BA #8BBA69
analogous
#7069BA #9869BA #BA69B3
triadic
#9869BA #BA9869 #69BA98
tetradic
#9869BA #BA7069 #8BBA69 #69B3BA
square
#9869BA #BA7069 #8BBA69 #69B3BA
split-complementary
#9869BA #B3BA69 #69BA70
monochromatic
#593573 #7A489D #9869BA #B593CD #D2BDE1
Accessibility & contrast
On white
4.15
#9869BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9869BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9869BA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9869BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9869BA | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#947589
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9869ba; /* rgb */ color: rgb(152, 105, 186); /* oklch */ color: oklch(60.2% 0.129 309.7);
Tailwind
colors: {
custom: {
50: '#b895cf',
500: '#9869ba',
950: '#000000',
},
}SCSS
$custom: #9869ba; $custom-light: #b895cf; $custom-dark: #000000;
JSON
{
"hex": "#9869ba",
"rgb": {
"r": 152,
"g": 105,
"b": 186
},
"hsl": {
"h": 274.815,
"s": 36.986,
"l": 57.059
},
"oklch": {
"l": 0.60184,
"c": 0.12874,
"h": 309.7
},
"luminance": 0.20324
}Semantic roles & 50–950 ramp
primary
#9869BA
secondary
#BDD0AF
accent
#CD5B8B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82