#8161BF#8161BF
#8161BF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.7% C 0.143 H 297.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8161BF |
|---|---|
| RGB | rgb(129, 97, 191) |
| HSL | hsl(260, 42%, 56%) |
| HSV | hsv(260, 49%, 75%) |
| CMYK | cmyk(32.5%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(48.23, 33.49, -44.94) |
| CIE-LCH | lch(48.23, 56.05, 306.69°) |
| OKLab | oklab(56.74% 0.0655 -0.1266) |
| OKLCH | oklch(56.74% 0.143 297.4) |
| XYZ | xyz(22.7296, 16.9778, 51.3597) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.61
Amethyst
#9B5FC0
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 5.93
Royal Purple
#7851A9
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8161BF #9FBF61
analogous
#6170BF #8161BF #B061BF
triadic
#8161BF #BF8161 #61BF81
tetradic
#8161BF #BF6170 #9FBF61 #61BFB0
square
#8161BF #BF6170 #9FBF61 #61BFB0
split-complementary
#8161BF #BFB061 #70BF61
monochromatic
#483076 #6241A1 #8161BF #A48DD1 #C6B8E2
Accessibility & contrast
On white
4.78
#8161BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#8161BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8161BF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8161BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8161BF | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#747387
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8161bf; /* rgb */ color: rgb(129, 97, 191); /* oklch */ color: oklch(56.7% 0.143 297.4);
Tailwind
colors: {
custom: {
50: '#a88ed3',
500: '#8161bf',
950: '#000000',
},
}SCSS
$custom: #8161bf; $custom-light: #a88ed3; $custom-dark: #000000;
JSON
{
"hex": "#8161bf",
"rgb": {
"r": 129,
"g": 97,
"b": 191
},
"hsl": {
"h": 260.426,
"s": 42.342,
"l": 56.471
},
"oklch": {
"l": 0.56744,
"c": 0.14259,
"h": 297.4
},
"luminance": 0.16978
}Semantic roles & 50–950 ramp
primary
#8161BF
secondary
#C4D1AB
accent
#D256A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83