#8159F3#8159F3
#8159F3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.219 H 290.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8159F3 |
|---|---|
| RGB | rgb(129, 89, 243) |
| HSL | hsl(256, 87%, 65%) |
| HSV | hsv(256, 63%, 95%) |
| CMYK | cmyk(46.9%, 63.4%, 0%, 4.7%) |
| CIE-LAB | lab(49.84, 52.05, -71.93) |
| CIE-LCH | lch(49.84, 88.78, 305.89°) |
| OKLab | oklab(58.99% 0.0748 -0.2059) |
| OKLCH | oklch(58.99% 0.219 290) |
| XYZ | xyz(28.7987, 18.2818, 86.7880) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.55
Mediumslateblue
#7B68EE
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 6.02
Lighter Purple
#A55AF4
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.56
Dark Periwinkle
#665FD1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8159F3 #CBF359
analogous
#597EF3 #8159F3 #CE59F3
triadic
#8159F3 #F38159 #59F381
tetradic
#8159F3 #F3597E #CBF359 #59F3CE
square
#8159F3 #F3597E #CBF359 #59F3CE
split-complementary
#8159F3 #F3CE59 #7EF359
monochromatic
#3D0EC3 #5620EF #8159F3 #AC92F7 #D8CBFB
Accessibility & contrast
On white
4.51
#8159F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#8159F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8159F3
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8159F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8159F3 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#5C7E9E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8159f3; /* rgb */ color: rgb(129, 89, 243); /* oklch */ color: oklch(59.0% 0.219 290.0);
Tailwind
colors: {
custom: {
50: '#ae8af8',
500: '#8159f3',
950: '#000000',
},
}SCSS
$custom: #8159f3; $custom-light: #ae8af8; $custom-dark: #000000;
JSON
{
"hex": "#8159f3",
"rgb": {
"r": 129,
"g": 89,
"b": 243
},
"hsl": {
"h": 255.584,
"s": 86.517,
"l": 65.098
},
"oklch": {
"l": 0.58987,
"c": 0.21906,
"h": 290
},
"luminance": 0.18283
}Semantic roles & 50–950 ramp
primary
#8159F3
secondary
#E0EEBA
accent
#E302A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85