#9162E6#9162E6
#9162E6 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.192 H 296.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9162E6 |
|---|---|
| RGB | rgb(145, 98, 230) |
| HSL | hsl(261, 73%, 64%) |
| HSV | hsv(261, 57%, 90%) |
| CMYK | cmyk(37%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(52.36, 46.99, -60.48) |
| CIE-LCH | lch(52.36, 76.58, 307.85°) |
| OKLab | oklab(60.92% 0.0864 -0.1717) |
| OKLCH | oklch(60.92% 0.192 296.7) |
| XYZ | xyz(30.3240, 20.4678, 77.2006) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 3.96
Mediumpurple
#9370DB
ΔE00 4.28
Mediumslateblue
#7B68EE
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 4.87
Amethyst
#9B5FC0
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162E6 #B7E662
analogous
#6275E6 #9162E6 #D362E6
triadic
#9162E6 #E69162 #62E691
tetradic
#9162E6 #E66275 #B7E662 #62E6D3
square
#9162E6 #E66275 #B7E662 #62E6D3
split-complementary
#9162E6 #E6D362 #75E662
monochromatic
#511CB1 #6C2DDE #9162E6 #B697EE #DBCCF7
Accessibility & contrast
On white
4.12
#9162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#9162E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162E6
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162E6 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#197EEA
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#7D7E9B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9162e6; /* rgb */ color: rgb(145, 98, 230); /* oklch */ color: oklch(60.9% 0.192 296.7);
Tailwind
colors: {
custom: {
50: '#b690ef',
500: '#9162e6',
950: '#000000',
},
}SCSS
$custom: #9162e6; $custom-light: #b690ef; $custom-dark: #000000;
JSON
{
"hex": "#9162e6",
"rgb": {
"r": 145,
"g": 98,
"b": 230
},
"hsl": {
"h": 261.364,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.60918,
"c": 0.19224,
"h": 296.7
},
"luminance": 0.20468
}Semantic roles & 50–950 ramp
primary
#9162E6
secondary
#D8E9BB
accent
#D5118F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84