#9652CB#9652CB
#9652CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.185 H 307.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9652CB |
|---|---|
| RGB | rgb(150, 82, 203) |
| HSL | hsl(274, 54%, 56%) |
| HSV | hsv(274, 60%, 80%) |
| CMYK | cmyk(26.1%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(48.05, 50.06, -52.03) |
| CIE-LCH | lch(48.05, 72.20, 313.89°) |
| OKLab | oklab(57.35% 0.1125 -0.1467) |
| OKLCH | oklch(57.35% 0.185 307.5) |
| XYZ | xyz(26.3722, 16.8307, 58.3477) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.37
Lightish Purple
#A552E6
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 4.70
Purpley
#8756E4
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 6.07
Purply
#983FB2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9652CB #87CB52
analogous
#5952CB #9652CB #CB52C3
triadic
#9652CB #CB9652 #52CB96
tetradic
#9652CB #CB5952 #87CB52 #52C3CB
square
#9652CB #CB5952 #87CB52 #52C3CB
split-complementary
#9652CB #C3CB52 #52CB59
monochromatic
#57267D #7734AC #9652CB #B381D9 #CFB0E7
Accessibility & contrast
On white
4.81
#9652CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9652CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9652CB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9652CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9652CB | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#8E6A87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9652cb; /* rgb */ color: rgb(150, 82, 203); /* oklch */ color: oklch(57.4% 0.185 307.5);
Tailwind
colors: {
custom: {
50: '#b886db',
500: '#9652cb',
950: '#000000',
},
}SCSS
$custom: #9652cb; $custom-light: #b886db; $custom-dark: #000000;
JSON
{
"hex": "#9652cb",
"rgb": {
"r": 150,
"g": 82,
"b": 203
},
"hsl": {
"h": 273.719,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.57354,
"c": 0.1849,
"h": 307.5
},
"luminance": 0.1683
}Semantic roles & 50–950 ramp
primary
#9652CB
secondary
#B9D5A3
accent
#DD4B8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83