#9855CD#9855CD
#9855CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.183 H 307.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9855CD |
|---|---|
| RGB | rgb(152, 85, 205) |
| HSL | hsl(274, 55%, 57%) |
| HSV | hsv(274, 59%, 80%) |
| CMYK | cmyk(25.9%, 58.5%, 0%, 19.6%) |
| CIE-LAB | lab(48.98, 49.45, -51.66) |
| CIE-LCH | lch(48.98, 71.51, 313.75°) |
| OKLab | oklab(58.13% 0.1113 -0.1456) |
| OKLCH | oklch(58.13% 0.183 307.4) |
| XYZ | xyz(27.2146, 17.5805, 59.7055) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.78
Lightish Purple
#A552E6
ΔE00 4.04
Deep Lavender
#8D5EB7
ΔE00 4.57
Purpley
#8756E4
ΔE00 5.23
Lighter Purple
#A55AF4
ΔE00 6.31
Mediumorchid
#BA55D3
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9855CD #8ACD55
analogous
#5C55CD #9855CD #CD55C6
triadic
#9855CD #CD9855 #55CD98
tetradic
#9855CD #CD5C55 #8ACD55 #55C6CD
square
#9855CD #CD5C55 #8ACD55 #55C6CD
split-complementary
#9855CD #C6CD55 #55CD5C
monochromatic
#592682 #7A34B1 #9855CD #B584DB #D1B4E9
Accessibility & contrast
On white
4.65
#9855CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9855CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9855CD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9855CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9855CD | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#906C89
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9855cd; /* rgb */ color: rgb(152, 85, 205); /* oklch */ color: oklch(58.1% 0.183 307.4);
Tailwind
colors: {
custom: {
50: '#ba88dd',
500: '#9855cd',
950: '#000000',
},
}SCSS
$custom: #9855cd; $custom-light: #ba88dd; $custom-dark: #000000;
JSON
{
"hex": "#9855cd",
"rgb": {
"r": 152,
"g": 85,
"b": 205
},
"hsl": {
"h": 273.5,
"s": 54.545,
"l": 56.863
},
"oklch": {
"l": 0.58129,
"c": 0.18329,
"h": 307.4
},
"luminance": 0.1758
}Semantic roles & 50–950 ramp
primary
#9855CD
secondary
#BCD7A6
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83