#9956E9#9956E9
#9956E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.213 H 301.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9956E9 |
|---|---|
| RGB | rgb(153, 86, 233) |
| HSL | hsl(267, 77%, 63%) |
| HSV | hsv(267, 63%, 91%) |
| CMYK | cmyk(34.3%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(51.05, 55.79, -64.24) |
| CIE-LCH | lch(51.05, 85.08, 310.98°) |
| OKLab | oklab(60.22% 0.1104 -0.1825) |
| OKLCH | oklch(60.22% 0.213 301.2) |
| XYZ | xyz(31.1691, 19.3109, 79.1603) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.33
Lighter Purple
#A55AF4
ΔE00 2.90
Purpley
#8756E4
ΔE00 3.30
Electric Purple
#AA23FF
ΔE00 6.86
Mediumpurple
#9370DB
ΔE00 6.97
Amethyst
#9B5FC0
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9956E9 #A6E956
analogous
#565DE9 #9956E9 #E256E9
triadic
#9956E9 #E99956 #56E999
tetradic
#9956E9 #E9565D #A6E956 #56E9E2
square
#9956E9 #E9565D #A6E956 #56E9E2
split-complementary
#9956E9 #E9E256 #5DE956
monochromatic
#5C17AE #7820E2 #9956E9 #BA8CF0 #DAC2F7
Accessibility & contrast
On white
4.32
#9956E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#9956E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9956E9
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9956E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9956E9 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#887698
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9956e9; /* rgb */ color: rgb(153, 86, 233); /* oklch */ color: oklch(60.2% 0.213 301.2);
Tailwind
colors: {
custom: {
50: '#bc89f1',
500: '#9956e9',
950: '#000000',
},
}SCSS
$custom: #9956e9; $custom-light: #bc89f1; $custom-dark: #000000;
JSON
{
"hex": "#9956e9",
"rgb": {
"r": 153,
"g": 86,
"b": 233
},
"hsl": {
"h": 267.347,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.60218,
"c": 0.2133,
"h": 301.2
},
"luminance": 0.19311
}Semantic roles & 50–950 ramp
primary
#9956E9
secondary
#D0E8B3
accent
#D90C7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85