#9159E9#9159E9
#9159E9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.208 H 297.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9159E9 |
|---|---|
| RGB | rgb(145, 89, 233) |
| HSL | hsl(263, 77%, 63%) |
| HSV | hsv(263, 62%, 91%) |
| CMYK | cmyk(37.8%, 61.8%, 0%, 8.6%) |
| CIE-LAB | lab(50.74, 52.57, -64.77) |
| CIE-LCH | lch(50.74, 83.42, 309.06°) |
| OKLab | oklab(59.8% 0.0966 -0.1844) |
| OKLCH | oklch(59.8% 0.208 297.7) |
| XYZ | xyz(29.9537, 19.0472, 79.1734) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.17
Lighter Purple
#A55AF4
ΔE00 3.83
Lightish Purple
#A552E6
ΔE00 3.83
Mediumslateblue
#7B68EE
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 6.50
Light Indigo
#6D5ACF
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9159E9 #B1E959
analogous
#5969E9 #9159E9 #D959E9
triadic
#9159E9 #E99159 #59E991
tetradic
#9159E9 #E95969 #B1E959 #59E9D9
square
#9159E9 #E95969 #B1E959 #59E9D9
split-complementary
#9159E9 #E9D959 #69E959
monochromatic
#5317B0 #6D23E2 #9159E9 #B58FF0 #D9C5F7
Accessibility & contrast
On white
4.37
#9159E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#9159E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9159E9
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9159E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9159E9 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0E77E6
Tritanopia (blue-blind)
#7C7999
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9159e9; /* rgb */ color: rgb(145, 89, 233); /* oklch */ color: oklch(59.8% 0.208 297.7);
Tailwind
colors: {
custom: {
50: '#b78bf1',
500: '#9159e9',
950: '#000000',
},
}SCSS
$custom: #9159e9; $custom-light: #b78bf1; $custom-dark: #000000;
JSON
{
"hex": "#9159e9",
"rgb": {
"r": 145,
"g": 89,
"b": 233
},
"hsl": {
"h": 263.333,
"s": 76.596,
"l": 63.137
},
"oklch": {
"l": 0.59797,
"c": 0.20814,
"h": 297.7
},
"luminance": 0.19048
}Semantic roles & 50–950 ramp
primary
#9159E9
secondary
#D5E9B5
accent
#D90D89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85