#9652E5#9652E5
#9652E5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.214 H 301.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9652E5 |
|---|---|
| RGB | rgb(150, 82, 229) |
| HSL | hsl(268, 74%, 61%) |
| HSV | hsv(268, 64%, 90%) |
| CMYK | cmyk(34.5%, 64.2%, 0%, 10.2%) |
| CIE-LAB | lab(49.71, 56.20, -64.16) |
| CIE-LCH | lch(49.71, 85.30, 311.21°) |
| OKLab | oklab(59.09% 0.1112 -0.1824) |
| OKLCH | oklch(59.09% 0.214 301.4) |
| XYZ | xyz(29.7344, 18.1756, 76.0553) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Lightish Purple
#A552E6
ΔE00 2.79
Lighter Purple
#A55AF4
ΔE00 4.18
Electric Purple
#AA23FF
ΔE00 6.30
Amethyst
#9B5FC0
ΔE00 7.06
Bright Violet
#AD0AFD
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9652E5 #A1E552
analogous
#5257E5 #9652E5 #DF52E5
triadic
#9652E5 #E59652 #52E596
tetradic
#9652E5 #E55257 #A1E552 #52E5DF
square
#9652E5 #E55257 #A1E552 #52E5DF
split-complementary
#9652E5 #E5DF52 #57E552
monochromatic
#5919A4 #7621D9 #9652E5 #B687ED #D7BCF5
Accessibility & contrast
On white
4.53
#9652E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#9652E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9652E5
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9652E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9652E5 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1275E2
Tritanopia (blue-blind)
#857394
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9652e5; /* rgb */ color: rgb(150, 82, 229); /* oklch */ color: oklch(59.1% 0.214 301.4);
Tailwind
colors: {
custom: {
50: '#ba86ee',
500: '#9652e5',
950: '#000000',
},
}SCSS
$custom: #9652e5; $custom-light: #ba86ee; $custom-dark: #000000;
JSON
{
"hex": "#9652e5",
"rgb": {
"r": 150,
"g": 82,
"b": 229
},
"hsl": {
"h": 267.755,
"s": 73.869,
"l": 60.98
},
"oklch": {
"l": 0.59089,
"c": 0.21362,
"h": 301.4
},
"luminance": 0.18176
}Semantic roles & 50–950 ramp
primary
#9652E5
secondary
#CBE5AE
accent
#D6107A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84