#9162E5#9162E5
#9162E5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.191 H 296.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9162E5 |
|---|---|
| RGB | rgb(145, 98, 229) |
| HSL | hsl(262, 72%, 64%) |
| HSV | hsv(262, 57%, 90%) |
| CMYK | cmyk(36.7%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(52.30, 46.73, -60.01) |
| CIE-LCH | lch(52.30, 76.06, 307.91°) |
| OKLab | oklab(60.85% 0.0864 -0.1704) |
| OKLCH | oklch(60.85% 0.191 296.9) |
| XYZ | xyz(30.1840, 20.4118, 76.4632) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Lighter Purple
#A55AF4
ΔE00 4.01
Mediumpurple
#9370DB
ΔE00 4.24
Mediumslateblue
#7B68EE
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162E5 #B6E562
analogous
#6275E5 #9162E5 #D362E5
triadic
#9162E5 #E59162 #62E591
tetradic
#9162E5 #E56275 #B6E562 #62E5D3
square
#9162E5 #E56275 #B6E562 #62E5D3
split-complementary
#9162E5 #E5D362 #75E562
monochromatic
#521DB0 #6C2DDC #9162E5 #B697EE #DBCBF6
Accessibility & contrast
On white
4.13
#9162E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#9162E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162E5
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162E5 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B7DE9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#7D7E9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9162e5; /* rgb */ color: rgb(145, 98, 229); /* oklch */ color: oklch(60.9% 0.191 296.9);
Tailwind
colors: {
custom: {
50: '#b690ee',
500: '#9162e5',
950: '#000000',
},
}SCSS
$custom: #9162e5; $custom-light: #b690ee; $custom-dark: #000000;
JSON
{
"hex": "#9162e5",
"rgb": {
"r": 145,
"g": 98,
"b": 229
},
"hsl": {
"h": 261.527,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.60852,
"c": 0.19103,
"h": 296.9
},
"luminance": 0.20412
}Semantic roles & 50–950 ramp
primary
#9162E5
secondary
#D8E8BB
accent
#D4128E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84