#9652CA#9652CA
#9652CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.184 H 307.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9652CA |
|---|---|
| RGB | rgb(150, 82, 202) |
| HSL | hsl(274, 53%, 56%) |
| HSV | hsv(274, 59%, 79%) |
| CMYK | cmyk(25.7%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(47.99, 49.83, -51.55) |
| CIE-LCH | lch(47.99, 71.69, 314.03°) |
| OKLab | oklab(57.29% 0.1125 -0.1453) |
| OKLCH | oklch(57.29% 0.184 307.7) |
| XYZ | xyz(26.2535, 16.7832, 57.7221) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.29
Deep Lavender
#8D5EB7
ΔE00 4.60
Lightish Purple
#A552E6
ΔE00 4.72
Purpley
#8756E4
ΔE00 5.42
Purply
#983FB2
ΔE00 5.97
Darkorchid
#9932CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9652CA #86CA52
analogous
#5A52CA #9652CA #CA52C2
triadic
#9652CA #CA9652 #52CA96
tetradic
#9652CA #CA5A52 #86CA52 #52C2CA
square
#9652CA #CA5A52 #86CA52 #52C2CA
split-complementary
#9652CA #C2CA52 #52CA5A
monochromatic
#57267C #7734AB #9652CA #B281D8 #CFB0E7
Accessibility & contrast
On white
4.82
#9652CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9652CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9652CA
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9652CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9652CA | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#8E6986
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9652ca; /* rgb */ color: rgb(150, 82, 202); /* oklch */ color: oklch(57.3% 0.184 307.7);
Tailwind
colors: {
custom: {
50: '#b886db',
500: '#9652ca',
950: '#000000',
},
}SCSS
$custom: #9652ca; $custom-light: #b886db; $custom-dark: #000000;
JSON
{
"hex": "#9652ca",
"rgb": {
"r": 150,
"g": 82,
"b": 202
},
"hsl": {
"h": 274,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.5729,
"c": 0.18379,
"h": 307.7
},
"luminance": 0.16783
}Semantic roles & 50–950 ramp
primary
#9652CA
secondary
#B9D5A3
accent
#DD4B8A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83