#9166F9#9166F9
#9166F9 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.8% C 0.210 H 292.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9166F9 |
|---|---|
| RGB | rgb(145, 102, 249) |
| HSL | hsl(258, 92%, 69%) |
| HSV | hsv(258, 59%, 98%) |
| CMYK | cmyk(41.8%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(54.41, 49.78, -67.79) |
| CIE-LCH | lch(54.41, 84.11, 306.29°) |
| OKLab | oklab(62.8% 0.0814 -0.1932) |
| OKLCH | oklch(62.8% 0.21 292.8) |
| XYZ | xyz(33.5227, 22.3611, 92.1540) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.09
Lighter Purple
#A55AF4
ΔE00 4.47
Mediumpurple
#9370DB
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.78
Lightish Purple
#A552E6
ΔE00 6.63
Light Urple
#B36FF6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9166F9 #CEF966
analogous
#6685F9 #9166F9 #DB66F9
triadic
#9166F9 #F99166 #66F991
tetradic
#9166F9 #F96685 #CEF966 #66F9DB
square
#9166F9 #F96685 #CEF966 #66F9DB
split-complementary
#9166F9 #F9DB66 #85F966
monochromatic
#4609DC #672BF7 #9166F9 #BBA1FB #E6DCFE
Accessibility & contrast
On white
3.84
#9166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#9166F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9166F9
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9166F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9166F9 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#087FF6
Tritanopia (blue-blind)
#7487A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9166f9; /* rgb */ color: rgb(145, 102, 249); /* oklch */ color: oklch(62.8% 0.210 292.8);
Tailwind
colors: {
custom: {
50: '#b793fc',
500: '#9166f9',
950: '#000000',
},
}SCSS
$custom: #9166f9; $custom-light: #b793fc; $custom-dark: #000000;
JSON
{
"hex": "#9166f9",
"rgb": {
"r": 145,
"g": 102,
"b": 249
},
"hsl": {
"h": 257.551,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.62804,
"c": 0.20967,
"h": 292.8
},
"luminance": 0.22362
}Semantic roles & 50–950 ramp
primary
#9166F9
secondary
#E6F3C8
accent
#E600A2
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86