#8159BF#8159BF
#8159BF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.155 H 299.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8159BF |
|---|---|
| RGB | rgb(129, 89, 191) |
| HSL | hsl(264, 44%, 55%) |
| HSV | hsv(264, 53%, 75%) |
| CMYK | cmyk(32.5%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.41, 38.12, -47.85) |
| CIE-LCH | lch(46.41, 61.17, 308.54°) |
| OKLab | oklab(55.39% 0.0762 -0.1351) |
| OKLCH | oklch(55.39% 0.155 299.4) |
| XYZ | xyz(22.0274, 15.5733, 51.1256) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.81
Royal Purple
#7851A9
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.58
Purpley
#8756E4
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8159BF #97BF59
analogous
#5964BF #8159BF #B459BF
triadic
#8159BF #BF8159 #59BF81
tetradic
#8159BF #BF5964 #97BF59 #59BFB4
square
#8159BF #BF5964 #97BF59 #59BFB4
split-complementary
#8159BF #BFB459 #64BF59
monochromatic
#472C72 #633D9E #8159BF #A385D0 #C4B1E1
Accessibility & contrast
On white
5.10
#8159BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8159BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8159BF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8159BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8159BF | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#746D83
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8159bf; /* rgb */ color: rgb(129, 89, 191); /* oklch */ color: oklch(55.4% 0.155 299.4);
Tailwind
colors: {
custom: {
50: '#a989d3',
500: '#8159bf',
950: '#000000',
},
}SCSS
$custom: #8159bf; $custom-light: #a989d3; $custom-dark: #000000;
JSON
{
"hex": "#8159bf",
"rgb": {
"r": 129,
"g": 89,
"b": 191
},
"hsl": {
"h": 263.529,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.55389,
"c": 0.15513,
"h": 299.4
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#8159BF
secondary
#BFCFA4
accent
#D454A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83