#9652D2#9652D2
#9652D2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.193 H 305.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9652D2 |
|---|---|
| RGB | rgb(150, 82, 210) |
| HSL | hsl(272, 59%, 57%) |
| HSV | hsv(272, 61%, 82%) |
| CMYK | cmyk(28.6%, 61%, 0%, 17.6%) |
| CIE-LAB | lab(48.48, 51.68, -55.35) |
| CIE-LCH | lch(48.48, 75.73, 313.04°) |
| OKLab | oklab(57.8% 0.1124 -0.1565) |
| OKLCH | oklch(57.8% 0.193 305.7) |
| XYZ | xyz(27.2253, 17.1720, 62.8405) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.79
Purpley
#8756E4
ΔE00 4.32
Amethyst
#9B5FC0
ΔE00 5.00
Deep Lavender
#8D5EB7
ΔE00 5.47
Lighter Purple
#A55AF4
ΔE00 6.10
Darkorchid
#9932CC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9652D2 #8ED252
analogous
#5652D2 #9652D2 #D252CE
triadic
#9652D2 #D29652 #52D296
tetradic
#9652D2 #D25652 #8ED252 #52CED2
square
#9652D2 #D25652 #8ED252 #52CED2
split-complementary
#9652D2 #CED252 #52D256
monochromatic
#582387 #7830B7 #9652D2 #B383DF #D1B3EB
Accessibility & contrast
On white
4.74
#9652D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9652D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9652D2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9652D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9652D2 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#8C6C8A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9652d2; /* rgb */ color: rgb(150, 82, 210); /* oklch */ color: oklch(57.8% 0.193 305.7);
Tailwind
colors: {
custom: {
50: '#b986e0',
500: '#9652d2',
950: '#000000',
},
}SCSS
$custom: #9652d2; $custom-light: #b986e0; $custom-dark: #000000;
JSON
{
"hex": "#9652d2",
"rgb": {
"r": 150,
"g": 82,
"b": 210
},
"hsl": {
"h": 271.875,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.57804,
"c": 0.19265,
"h": 305.7
},
"luminance": 0.17172
}Semantic roles & 50–950 ramp
primary
#9652D2
secondary
#BEDAA6
accent
#E2468F
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83