#9162C8#9162C8
#9162C8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.155 H 303.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9162C8 |
|---|---|
| RGB | rgb(145, 98, 200) |
| HSL | hsl(268, 48%, 58%) |
| HSV | hsv(268, 51%, 78%) |
| CMYK | cmyk(27.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(50.60, 39.44, -46.26) |
| CIE-LCH | lch(50.60, 60.79, 310.45°) |
| OKLab | oklab(59.05% 0.0853 -0.13) |
| OKLCH | oklch(59.05% 0.156 303.2) |
| XYZ | xyz(26.4678, 18.9253, 56.8909) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.06
Deep Lavender
#8D5EB7
ΔE00 3.21
Deep Lilac
#966EBD
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 5.15
Purpley
#8756E4
ΔE00 6.03
Lightish Purple
#A552E6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162C8 #99C862
analogous
#6266C8 #9162C8 #C462C8
triadic
#9162C8 #C89162 #62C891
tetradic
#9162C8 #C86266 #99C862 #62C8C4
square
#9162C8 #C86266 #99C862 #62C8C4
split-complementary
#9162C8 #C8C462 #66C862
monochromatic
#542E82 #723DAF #9162C8 #B18FD8 #D1BDE8
Accessibility & contrast
On white
4.39
#9162C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#9162C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162C8
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162C8 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#87758C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9162c8; /* rgb */ color: rgb(145, 98, 200); /* oklch */ color: oklch(59.1% 0.155 303.2);
Tailwind
colors: {
custom: {
50: '#b490d9',
500: '#9162c8',
950: '#000000',
},
}SCSS
$custom: #9162c8; $custom-light: #b490d9; $custom-dark: #000000;
JSON
{
"hex": "#9162c8",
"rgb": {
"r": 145,
"g": 98,
"b": 200
},
"hsl": {
"h": 267.647,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.5905,
"c": 0.1555,
"h": 303.2
},
"luminance": 0.18925
}Semantic roles & 50–950 ramp
primary
#9162C8
secondary
#C4D7AF
accent
#D85099
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83