#9161BF#9161BF
#9161BF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.146 H 306.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9161BF |
|---|---|
| RGB | rgb(145, 97, 191) |
| HSL | hsl(271, 42%, 56%) |
| HSV | hsv(271, 49%, 75%) |
| CMYK | cmyk(24.1%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(49.90, 37.83, -42.20) |
| CIE-LCH | lch(49.90, 56.67, 311.88°) |
| OKLab | oklab(58.37% 0.0857 -0.1182) |
| OKLCH | oklch(58.37% 0.146 306) |
| XYZ | xyz(25.3538, 18.3309, 51.4827) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.72
Amethyst
#9B5FC0
ΔE00 2.20
Deep Lilac
#966EBD
ΔE00 4.33
Mediumpurple
#9370DB
ΔE00 6.48
Lightish Purple
#A552E6
ΔE00 7.11
Purpley
#8756E4
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9161BF #8FBF61
analogous
#6261BF #9161BF #BF61BE
triadic
#9161BF #BF9161 #61BF91
tetradic
#9161BF #BF6261 #8FBF61 #61BEBF
square
#9161BF #BF6261 #8FBF61 #61BEBF
split-complementary
#9161BF #BEBF61 #61BF62
monochromatic
#543076 #7241A1 #9161BF #AF8DD1 #CEB8E2
Accessibility & contrast
On white
4.50
#9161BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#9161BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9161BF
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9161BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9161BF | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#8A7187
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9161bf; /* rgb */ color: rgb(145, 97, 191); /* oklch */ color: oklch(58.4% 0.146 306.0);
Tailwind
colors: {
custom: {
50: '#b38fd3',
500: '#9161bf',
950: '#000000',
},
}SCSS
$custom: #9161bf; $custom-light: #b38fd3; $custom-dark: #000000;
JSON
{
"hex": "#9161bf",
"rgb": {
"r": 145,
"g": 97,
"b": 191
},
"hsl": {
"h": 270.638,
"s": 42.342,
"l": 56.471
},
"oklch": {
"l": 0.58368,
"c": 0.14602,
"h": 306
},
"luminance": 0.18331
}Semantic roles & 50–950 ramp
primary
#9161BF
secondary
#BDD1AB
accent
#D25693
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83