#9162CF#9162CF
#9162CF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.164 H 301.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9162CF |
|---|---|
| RGB | rgb(145, 98, 207) |
| HSL | hsl(266, 53%, 60%) |
| HSV | hsv(266, 53%, 81%) |
| CMYK | cmyk(30%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(50.99, 41.17, -49.64) |
| CIE-LCH | lch(50.99, 64.49, 309.67°) |
| OKLab | oklab(59.47% 0.0858 -0.1399) |
| OKLCH | oklch(59.47% 0.164 301.5) |
| XYZ | xyz(27.3046, 19.2600, 61.2984) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.98
Deep Lavender
#8D5EB7
ΔE00 4.35
Mediumpurple
#9370DB
ΔE00 4.51
Purpley
#8756E4
ΔE00 5.11
Lightish Purple
#A552E6
ΔE00 5.45
Deep Lilac
#966EBD
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162CF #A0CF62
analogous
#6269CF #9162CF #C862CF
triadic
#9162CF #CF9162 #62CF91
tetradic
#9162CF #CF6269 #A0CF62 #62CFC8
square
#9162CF #CF6269 #A0CF62 #62CFC8
split-complementary
#9162CF #CFC862 #69CF62
monochromatic
#552B8C #7139BB #9162CF #B291DD #D3C0EC
Accessibility & contrast
On white
4.33
#9162CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#9162CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162CF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162CF | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#85778F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9162cf; /* rgb */ color: rgb(145, 98, 207); /* oklch */ color: oklch(59.5% 0.164 301.5);
Tailwind
colors: {
custom: {
50: '#b490de',
500: '#9162cf',
950: '#000000',
},
}SCSS
$custom: #9162cf; $custom-light: #b490de; $custom-dark: #000000;
JSON
{
"hex": "#9162cf",
"rgb": {
"r": 145,
"g": 98,
"b": 207
},
"hsl": {
"h": 265.872,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.59465,
"c": 0.16415,
"h": 301.5
},
"luminance": 0.1926
}Semantic roles & 50–950 ramp
primary
#9162CF
secondary
#C9DBB1
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83