#9652E6#9652E6
#9652E6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.215 H 301.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9652E6 |
|---|---|
| RGB | rgb(150, 82, 230) |
| HSL | hsl(268, 75%, 61%) |
| HSV | hsv(268, 64%, 90%) |
| CMYK | cmyk(34.8%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(49.78, 56.44, -64.62) |
| CIE-LCH | lch(49.78, 85.80, 311.13°) |
| OKLab | oklab(59.16% 0.1111 -0.1837) |
| OKLCH | oklch(59.16% 0.215 301.2) |
| XYZ | xyz(29.8745, 18.2316, 76.7927) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Lightish Purple
#A552E6
ΔE00 2.80
Lighter Purple
#A55AF4
ΔE00 4.11
Electric Purple
#AA23FF
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 7.18
Bright Violet
#AD0AFD
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9652E6 #A2E652
analogous
#5258E6 #9652E6 #E052E6
triadic
#9652E6 #E69652 #52E696
tetradic
#9652E6 #E65258 #A2E652 #52E6E0
square
#9652E6 #E65258 #A2E652 #52E6E0
split-complementary
#9652E6 #E6E052 #58E652
monochromatic
#5918A6 #7620DB #9652E6 #B687EE #D7BDF5
Accessibility & contrast
On white
4.52
#9652E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#9652E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9652E6
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9652E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9652E6 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0E76E3
Tritanopia (blue-blind)
#857395
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9652e6; /* rgb */ color: rgb(150, 82, 230); /* oklch */ color: oklch(59.2% 0.215 301.2);
Tailwind
colors: {
custom: {
50: '#ba86ef',
500: '#9652e6',
950: '#000000',
},
}SCSS
$custom: #9652e6; $custom-light: #ba86ef; $custom-dark: #000000;
JSON
{
"hex": "#9652e6",
"rgb": {
"r": 150,
"g": 82,
"b": 230
},
"hsl": {
"h": 267.568,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.59159,
"c": 0.21471,
"h": 301.2
},
"luminance": 0.18232
}Semantic roles & 50–950 ramp
primary
#9652E6
secondary
#CCE6AE
accent
#D70F7B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84