#8159EF#8159EF
#8159EF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.214 H 290.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8159EF |
|---|---|
| RGB | rgb(129, 89, 239) |
| HSL | hsl(256, 82%, 64%) |
| HSV | hsv(256, 63%, 94%) |
| CMYK | cmyk(46%, 62.8%, 0%, 6.3%) |
| CIE-LAB | lab(49.55, 50.95, -70.15) |
| CIE-LCH | lch(49.55, 86.71, 305.99°) |
| OKLab | oklab(58.69% 0.0752 -0.2007) |
| OKLCH | oklch(58.69% 0.214 290.5) |
| XYZ | xyz(28.2012, 18.0428, 83.6413) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.11
Mediumslateblue
#7B68EE
ΔE00 4.28
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 6.16
Lighter Purple
#A55AF4
ΔE00 6.39
Dark Periwinkle
#665FD1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8159EF #C7EF59
analogous
#597CEF #8159EF #CC59EF
triadic
#8159EF #EF8159 #59EF81
tetradic
#8159EF #EF597C #C7EF59 #59EFCC
square
#8159EF #EF597C #C7EF59 #59EFCC
split-complementary
#8159EF #EFCC59 #7CEF59
monochromatic
#3F12BC #5721EA #8159EF #AB91F4 #D6C9FA
Accessibility & contrast
On white
4.56
#8159EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#8159EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8159EF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8159EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8159EF | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#5F7C9C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8159ef; /* rgb */ color: rgb(129, 89, 239); /* oklch */ color: oklch(58.7% 0.214 290.5);
Tailwind
colors: {
custom: {
50: '#ad8af5',
500: '#8159ef',
950: '#000000',
},
}SCSS
$custom: #8159ef; $custom-light: #ad8af5; $custom-dark: #000000;
JSON
{
"hex": "#8159ef",
"rgb": {
"r": 129,
"g": 89,
"b": 239
},
"hsl": {
"h": 256,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.58688,
"c": 0.2143,
"h": 290.5
},
"luminance": 0.18044
}Semantic roles & 50–950 ramp
primary
#8159EF
secondary
#DEECB8
accent
#DF07A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85