#9162EF#9162EF
#9162EF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.5% C 0.203 H 295.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9162EF |
|---|---|
| RGB | rgb(145, 98, 239) |
| HSL | hsl(260, 82%, 66%) |
| HSV | hsv(260, 59%, 94%) |
| CMYK | cmyk(39.3%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(52.93, 49.32, -64.60) |
| CIE-LCH | lch(52.93, 81.28, 307.36°) |
| OKLab | oklab(61.52% 0.0862 -0.1839) |
| OKLCH | oklch(61.52% 0.203 295.1) |
| XYZ | xyz(31.6206, 20.9864, 84.0294) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.18
Mediumslateblue
#7B68EE
ΔE00 4.30
Mediumpurple
#9370DB
ΔE00 4.84
Lightish Purple
#A552E6
ΔE00 5.25
Light Urple
#B36FF6
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162EF #C0EF62
analogous
#6279EF #9162EF #D762EF
triadic
#9162EF #EF9162 #62EF91
tetradic
#9162EF #EF6279 #C0EF62 #62EFD7
square
#9162EF #EF6279 #C0EF62 #62EFD7
split-complementary
#9162EF #EFD762 #79EF62
monochromatic
#4E14C3 #6A2AE9 #9162EF #B89AF5 #DFD1FA
Accessibility & contrast
On white
4.04
#9162EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#9162EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162EF
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162EF | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#79819F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9162ef; /* rgb */ color: rgb(145, 98, 239); /* oklch */ color: oklch(61.5% 0.203 295.1);
Tailwind
colors: {
custom: {
50: '#b790f5',
500: '#9162ef',
950: '#000000',
},
}SCSS
$custom: #9162ef; $custom-light: #b790f5; $custom-dark: #000000;
JSON
{
"hex": "#9162ef",
"rgb": {
"r": 145,
"g": 98,
"b": 239
},
"hsl": {
"h": 260,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.6152,
"c": 0.20306,
"h": 295.1
},
"luminance": 0.20987
}Semantic roles & 50–950 ramp
primary
#9162EF
secondary
#DEEEBF
accent
#DE0896
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85