#9156E6#9156E6
#9156E6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.209 H 298.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9156E6 |
|---|---|
| RGB | rgb(145, 86, 230) |
| HSL | hsl(265, 74%, 62%) |
| HSV | hsv(265, 63%, 90%) |
| CMYK | cmyk(37%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(49.96, 53.38, -64.34) |
| CIE-LCH | lch(49.96, 83.60, 309.68°) |
| OKLab | oklab(59.17% 0.1001 -0.1831) |
| OKLCH | oklch(59.17% 0.209 298.7) |
| XYZ | xyz(29.2842, 18.3881, 76.8540) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.82
Lightish Purple
#A552E6
ΔE00 3.63
Lighter Purple
#A55AF4
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 6.44
Mediumpurple
#9370DB
ΔE00 7.14
Light Indigo
#6D5ACF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9156E6 #ABE656
analogous
#5663E6 #9156E6 #D956E6
triadic
#9156E6 #E69156 #56E691
tetradic
#9156E6 #E65663 #ABE656 #56E6D9
square
#9156E6 #E65663 #ABE656 #56E6D9
split-complementary
#9156E6 #E6D956 #63E656
monochromatic
#5419A9 #6E21DE #9156E6 #B48BEE #D6C1F6
Accessibility & contrast
On white
4.49
#9156E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9156E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9156E6
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9156E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9156E6 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0C75E3
Tritanopia (blue-blind)
#7E7696
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9156e6; /* rgb */ color: rgb(145, 86, 230); /* oklch */ color: oklch(59.2% 0.209 298.7);
Tailwind
colors: {
custom: {
50: '#b789ef',
500: '#9156e6',
950: '#000000',
},
}SCSS
$custom: #9156e6; $custom-light: #b789ef; $custom-dark: #000000;
JSON
{
"hex": "#9156e6",
"rgb": {
"r": 145,
"g": 86,
"b": 230
},
"hsl": {
"h": 264.583,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.59169,
"c": 0.20869,
"h": 298.7
},
"luminance": 0.18388
}Semantic roles & 50–950 ramp
primary
#9156E6
secondary
#D1E6B1
accent
#D60F85
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84