#9656E2#9656E2
#9656E2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.205 H 301.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9656E2 |
|---|---|
| RGB | rgb(150, 86, 226) |
| HSL | hsl(267, 71%, 61%) |
| HSV | hsv(267, 62%, 89%) |
| CMYK | cmyk(33.6%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(50.25, 53.46, -61.59) |
| CIE-LCH | lch(50.25, 81.55, 310.96°) |
| OKLab | oklab(59.42% 0.107 -0.1748) |
| OKLCH | oklch(59.42% 0.205 301.5) |
| XYZ | xyz(29.6297, 18.6305, 73.9718) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.68
Purpley
#8756E4
ΔE00 2.83
Lighter Purple
#A55AF4
ΔE00 3.86
Amethyst
#9B5FC0
ΔE00 6.39
Mediumpurple
#9370DB
ΔE00 6.97
Electric Purple
#AA23FF
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9656E2 #A2E256
analogous
#565CE2 #9656E2 #DC56E2
triadic
#9656E2 #E29656 #56E296
tetradic
#9656E2 #E2565C #A2E256 #56E2DC
square
#9656E2 #E2565C #A2E256 #56E2DC
split-complementary
#9656E2 #E2DC56 #5CE256
monochromatic
#591CA2 #7625D6 #9656E2 #B68AEB #D7BEF4
Accessibility & contrast
On white
4.44
#9656E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#9656E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9656E2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9656E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9656E2 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#2577DF
Tritanopia (blue-blind)
#867494
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9656e2; /* rgb */ color: rgb(150, 86, 226); /* oklch */ color: oklch(59.4% 0.205 301.5);
Tailwind
colors: {
custom: {
50: '#ba89ec',
500: '#9656e2',
950: '#000000',
},
}SCSS
$custom: #9656e2; $custom-light: #ba89ec; $custom-dark: #000000;
JSON
{
"hex": "#9656e2",
"rgb": {
"r": 150,
"g": 86,
"b": 226
},
"hsl": {
"h": 267.429,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.59419,
"c": 0.20496,
"h": 301.5
},
"luminance": 0.18631
}Semantic roles & 50–950 ramp
primary
#9656E2
secondary
#CCE4B0
accent
#D3137B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84