#9166C0#9166C0
#9166C0 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.139 H 304.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9166C0 |
|---|---|
| RGB | rgb(145, 102, 192) |
| HSL | hsl(269, 42%, 58%) |
| HSV | hsv(269, 47%, 75%) |
| CMYK | cmyk(24.5%, 46.9%, 0%, 24.7%) |
| CIE-LAB | lab(51.07, 35.24, -40.92) |
| CIE-LCH | lch(51.07, 54.00, 310.73°) |
| OKLab | oklab(59.26% 0.0789 -0.1145) |
| OKLCH | oklch(59.26% 0.139 304.6) |
| XYZ | xyz(25.9408, 19.3284, 52.2231) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.87
Amethyst
#9B5FC0
ΔE00 2.94
Deep Lilac
#966EBD
ΔE00 3.00
Mediumpurple
#9370DB
ΔE00 5.48
Soft Purple
#A66FB5
ΔE00 6.99
Lightish Purple
#A552E6
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9166C0 #95C066
analogous
#6668C0 #9166C0 #BE66C0
triadic
#9166C0 #C09166 #66C091
tetradic
#9166C0 #C06668 #95C066 #66C0BE
square
#9166C0 #C06668 #95C066 #66C0BE
split-complementary
#9166C0 #C0BE66 #68C066
monochromatic
#54327A #7244A5 #9166C0 #B091D2 #CFBDE4
Accessibility & contrast
On white
4.32
#9166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#9166C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9166C0
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9166C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9166C0 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#89758A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9166c0; /* rgb */ color: rgb(145, 102, 192); /* oklch */ color: oklch(59.3% 0.139 304.6);
Tailwind
colors: {
custom: {
50: '#b392d3',
500: '#9166c0',
950: '#000000',
},
}SCSS
$custom: #9166c0; $custom-light: #b392d3; $custom-dark: #000000;
JSON
{
"hex": "#9166c0",
"rgb": {
"r": 145,
"g": 102,
"b": 192
},
"hsl": {
"h": 268.667,
"s": 41.667,
"l": 57.647
},
"oklch": {
"l": 0.59261,
"c": 0.13903,
"h": 304.6
},
"luminance": 0.19328
}Semantic roles & 50–950 ramp
primary
#9166C0
secondary
#C2D3AF
accent
#D15697
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83