#815EF3#815EF3
#815EF3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.213 H 289.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #815EF3 |
|---|---|
| RGB | rgb(129, 94, 243) |
| HSL | hsl(254, 86%, 66%) |
| HSV | hsv(254, 61%, 95%) |
| CMYK | cmyk(46.9%, 61.3%, 0%, 4.7%) |
| CIE-LAB | lab(50.85, 49.33, -70.27) |
| CIE-LCH | lch(50.85, 85.86, 305.07°) |
| OKLab | oklab(59.73% 0.0697 -0.201) |
| OKLCH | oklch(59.73% 0.213 289.1) |
| XYZ | xyz(29.2290, 19.1424, 86.9314) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.99
Purpley
#8756E4
ΔE00 3.35
Lighter Purple
#A55AF4
ΔE00 6.26
Light Indigo
#6D5ACF
ΔE00 6.30
Dark Periwinkle
#665FD1
ΔE00 6.69
Slate Blue
#6A5ACD
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815EF3 #D0F35E
analogous
#5E85F3 #815EF3 #CB5EF3
triadic
#815EF3 #F3815E #5EF381
tetradic
#815EF3 #F35E85 #D0F35E #5EF3CB
square
#815EF3 #F35E85 #D0F35E #5EF3CB
split-complementary
#815EF3 #F3CB5E #85F35E
monochromatic
#3A0FC8 #5425EF #815EF3 #AE97F7 #DAD0FB
Accessibility & contrast
On white
4.35
#815EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#815EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815EF3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815EF3 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5C81A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #815ef3; /* rgb */ color: rgb(129, 94, 243); /* oklch */ color: oklch(59.7% 0.213 289.1);
Tailwind
colors: {
custom: {
50: '#ad8df8',
500: '#815ef3',
950: '#000000',
},
}SCSS
$custom: #815ef3; $custom-light: #ad8df8; $custom-dark: #000000;
JSON
{
"hex": "#815ef3",
"rgb": {
"r": 129,
"g": 94,
"b": 243
},
"hsl": {
"h": 254.094,
"s": 86.127,
"l": 66.078
},
"oklch": {
"l": 0.59726,
"c": 0.21279,
"h": 289.1
},
"luminance": 0.19144
}Semantic roles & 50–950 ramp
primary
#815EF3
secondary
#E3EFBE
accent
#E303AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85