#9952CB#9952CB
#9952CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.186 H 308.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9952CB |
|---|---|
| RGB | rgb(153, 82, 203) |
| HSL | hsl(275, 54%, 56%) |
| HSV | hsv(275, 60%, 80%) |
| CMYK | cmyk(24.6%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(48.41, 50.78, -51.42) |
| CIE-LCH | lch(48.41, 72.27, 314.64°) |
| OKLab | oklab(57.7% 0.1163 -0.1449) |
| OKLCH | oklch(57.7% 0.186 308.8) |
| XYZ | xyz(26.9315, 17.1191, 58.3739) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.07
Lightish Purple
#A552E6
ΔE00 4.36
Deep Lavender
#8D5EB7
ΔE00 4.78
Purpley
#8756E4
ΔE00 5.68
Purply
#983FB2
ΔE00 6.05
Darkorchid
#9932CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9952CB #84CB52
analogous
#5C52CB #9952CB #CB52C0
triadic
#9952CB #CB9952 #52CB99
tetradic
#9952CB #CB5C52 #84CB52 #52C0CB
square
#9952CB #CB5C52 #84CB52 #52C0CB
split-complementary
#9952CB #C0CB52 #52CB5C
monochromatic
#59267D #7A34AC #9952CB #B581D9 #D0B0E7
Accessibility & contrast
On white
4.75
#9952CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9952CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9952CB
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9952CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9952CB | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#926987
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9952cb; /* rgb */ color: rgb(153, 82, 203); /* oklch */ color: oklch(57.7% 0.186 308.8);
Tailwind
colors: {
custom: {
50: '#ba86db',
500: '#9952cb',
950: '#000000',
},
}SCSS
$custom: #9952cb; $custom-light: #ba86db; $custom-dark: #000000;
JSON
{
"hex": "#9952cb",
"rgb": {
"r": 153,
"g": 82,
"b": 203
},
"hsl": {
"h": 275.207,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.57698,
"c": 0.1858,
"h": 308.8
},
"luminance": 0.17119
}Semantic roles & 50–950 ramp
primary
#9952CB
secondary
#B8D5A3
accent
#DD4B87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83