#8159CF#8159CF
#8159CF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.175 H 295.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8159CF |
|---|---|
| RGB | rgb(129, 89, 207) |
| HSL | hsl(260, 55%, 58%) |
| HSV | hsv(260, 57%, 81%) |
| CMYK | cmyk(37.7%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(47.39, 42.31, -55.51) |
| CIE-LCH | lch(47.39, 69.79, 307.31°) |
| OKLab | oklab(56.42% 0.0766 -0.1576) |
| OKLCH | oklch(56.42% 0.175 295.9) |
| XYZ | xyz(23.8852, 16.3164, 60.9104) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.16
Light Indigo
#6D5ACF
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 5.73
Deep Lavender
#8D5EB7
ΔE00 5.74
Iris
#6258C4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8159CF #A7CF59
analogous
#596CCF #8159CF #BC59CF
triadic
#8159CF #CF8159 #59CF81
tetradic
#8159CF #CF596C #A7CF59 #59CFBC
square
#8159CF #CF596C #A7CF59 #59CFBC
split-complementary
#8159CF #CFBC59 #6CCF59
monochromatic
#472787 #6135B6 #8159CF #A588DD #C9B8EA
Accessibility & contrast
On white
4.93
#8159CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8159CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8159CF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8159CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8159CF | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#6E728B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8159cf; /* rgb */ color: rgb(129, 89, 207); /* oklch */ color: oklch(56.4% 0.175 295.9);
Tailwind
colors: {
custom: {
50: '#aa89de',
500: '#8159cf',
950: '#000000',
},
}SCSS
$custom: #8159cf; $custom-light: #aa89de; $custom-dark: #000000;
JSON
{
"hex": "#8159cf",
"rgb": {
"r": 129,
"g": 89,
"b": 207
},
"hsl": {
"h": 260.339,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.56424,
"c": 0.17524,
"h": 295.9
},
"luminance": 0.16317
}Semantic roles & 50–950 ramp
primary
#8159CF
secondary
#C9D9AA
accent
#DE49AC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83