#9855CB#9855CB
#9855CB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.181 H 307.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9855CB |
|---|---|
| RGB | rgb(152, 85, 203) |
| HSL | hsl(274, 53%, 56%) |
| HSV | hsv(274, 58%, 80%) |
| CMYK | cmyk(25.1%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(48.86, 48.99, -50.70) |
| CIE-LCH | lch(48.86, 70.50, 314.02°) |
| OKLab | oklab(58% 0.1113 -0.1428) |
| OKLCH | oklch(58% 0.181 307.9) |
| XYZ | xyz(26.9747, 17.4846, 58.4422) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.57
Lightish Purple
#A552E6
ΔE00 4.31
Deep Lavender
#8D5EB7
ΔE00 4.34
Purpley
#8756E4
ΔE00 5.51
Lighter Purple
#A55AF4
ΔE00 6.59
Purply
#983FB2
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9855CB #88CB55
analogous
#5D55CB #9855CB #CB55C3
triadic
#9855CB #CB9855 #55CB98
tetradic
#9855CB #CB5D55 #88CB55 #55C3CB
square
#9855CB #CB5D55 #88CB55 #55C3CB
split-complementary
#9855CB #C3CB55 #55CB5D
monochromatic
#59277F #7A35AE #9855CB #B484D9 #D1B3E8
Accessibility & contrast
On white
4.67
#9855CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9855CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9855CB
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9855CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9855CB | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#906B88
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9855cb; /* rgb */ color: rgb(152, 85, 203); /* oklch */ color: oklch(58.0% 0.181 307.9);
Tailwind
colors: {
custom: {
50: '#b988db',
500: '#9855cb',
950: '#000000',
},
}SCSS
$custom: #9855cb; $custom-light: #b988db; $custom-dark: #000000;
JSON
{
"hex": "#9855cb",
"rgb": {
"r": 152,
"g": 85,
"b": 203
},
"hsl": {
"h": 274.068,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.58004,
"c": 0.18106,
"h": 307.9
},
"luminance": 0.17484
}Semantic roles & 50–950 ramp
primary
#9855CB
secondary
#BBD6A6
accent
#DD4B8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83