#9855CF#9855CF
#9855CF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.186 H 306.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9855CF |
|---|---|
| RGB | rgb(152, 85, 207) |
| HSL | hsl(273, 56%, 57%) |
| HSV | hsv(273, 59%, 81%) |
| CMYK | cmyk(26.6%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(49.10, 49.91, -52.61) |
| CIE-LCH | lch(49.10, 72.52, 313.49°) |
| OKLab | oklab(58.25% 0.1113 -0.1484) |
| OKLCH | oklch(58.25% 0.186 306.9) |
| XYZ | xyz(27.4575, 17.6777, 60.9850) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.79
Amethyst
#9B5FC0
ΔE00 3.99
Deep Lavender
#8D5EB7
ΔE00 4.80
Purpley
#8756E4
ΔE00 4.96
Lighter Purple
#A55AF4
ΔE00 6.02
Mediumorchid
#BA55D3
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9855CF #8CCF55
analogous
#5B55CF #9855CF #CF55C9
triadic
#9855CF #CF9855 #55CF98
tetradic
#9855CF #CF5B55 #8CCF55 #55C9CF
square
#9855CF #CF5B55 #8CCF55 #55C9CF
split-complementary
#9855CF #C9CF55 #55CF5B
monochromatic
#592584 #7A33B4 #9855CF #B585DC #D2B4EA
Accessibility & contrast
On white
4.63
#9855CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#9855CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9855CF
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9855CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9855CF | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#8F6D8A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9855cf; /* rgb */ color: rgb(152, 85, 207); /* oklch */ color: oklch(58.3% 0.186 306.9);
Tailwind
colors: {
custom: {
50: '#ba88de',
500: '#9855cf',
950: '#000000',
},
}SCSS
$custom: #9855cf; $custom-light: #ba88de; $custom-dark: #000000;
JSON
{
"hex": "#9855cf",
"rgb": {
"r": 152,
"g": 85,
"b": 207
},
"hsl": {
"h": 272.951,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.58254,
"c": 0.18553,
"h": 306.9
},
"luminance": 0.17677
}Semantic roles & 50–950 ramp
primary
#9855CF
secondary
#BDD9A7
accent
#DF498C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83