#9161CF#9161CF
#9161CF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.166 H 301.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9161CF |
|---|---|
| RGB | rgb(145, 97, 207) |
| HSL | hsl(266, 53%, 60%) |
| HSV | hsv(266, 53%, 81%) |
| CMYK | cmyk(30%, 53.1%, 0%, 18.8%) |
| CIE-LAB | lab(50.77, 41.72, -49.99) |
| CIE-LCH | lch(50.77, 65.11, 309.85°) |
| OKLab | oklab(59.31% 0.0871 -0.141) |
| OKLCH | oklch(59.31% 0.166 301.7) |
| XYZ | xyz(27.2116, 19.0741, 61.2675) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.94
Deep Lavender
#8D5EB7
ΔE00 4.28
Mediumpurple
#9370DB
ΔE00 4.77
Purpley
#8756E4
ΔE00 4.94
Lightish Purple
#A552E6
ΔE00 5.30
Deep Lilac
#966EBD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9161CF #9FCF61
analogous
#6168CF #9161CF #C861CF
triadic
#9161CF #CF9161 #61CF91
tetradic
#9161CF #CF6168 #9FCF61 #61CFC8
square
#9161CF #CF6168 #9FCF61 #61CFC8
split-complementary
#9161CF #CFC861 #68CF61
monochromatic
#552A8B #7139BA #9161CF #B290DD #D2BFEC
Accessibility & contrast
On white
4.36
#9161CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#9161CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9161CF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9161CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9161CF | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#85768F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9161cf; /* rgb */ color: rgb(145, 97, 207); /* oklch */ color: oklch(59.3% 0.166 301.7);
Tailwind
colors: {
custom: {
50: '#b48fde',
500: '#9161cf',
950: '#000000',
},
}SCSS
$custom: #9161cf; $custom-light: #b48fde; $custom-dark: #000000;
JSON
{
"hex": "#9161cf",
"rgb": {
"r": 145,
"g": 97,
"b": 207
},
"hsl": {
"h": 266.182,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.59305,
"c": 0.16569,
"h": 301.7
},
"luminance": 0.19074
}Semantic roles & 50–950 ramp
primary
#9161CF
secondary
#C9DBB1
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83