#815CF6#815CF6
#815CF6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.219 H 289.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF6 |
|---|---|
| RGB | rgb(129, 92, 246) |
| HSL | hsl(254, 90%, 66%) |
| HSV | hsv(254, 63%, 96%) |
| CMYK | cmyk(47.6%, 62.6%, 0%, 3.5%) |
| CIE-LAB | lab(50.66, 51.26, -72.27) |
| CIE-LCH | lch(50.66, 88.60, 305.35°) |
| OKLab | oklab(59.65% 0.0715 -0.2069) |
| OKLCH | oklch(59.65% 0.219 289.1) |
| XYZ | xyz(29.5102, 18.9740, 89.2784) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 3.48
Lighter Purple
#A55AF4
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 6.48
Dark Periwinkle
#665FD1
ΔE00 6.95
Slate Blue
#6A5ACD
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF6 #D1F65C
analogous
#5C84F6 #815CF6 #CE5CF6
triadic
#815CF6 #F6815C #5CF681
tetradic
#815CF6 #F65C84 #D1F65C #5CF6CE
square
#815CF6 #F65C84 #D1F65C #5CF6CE
split-complementary
#815CF6 #F6CE5C #84F65C
monochromatic
#3A0BCC #5422F3 #815CF6 #AE96F9 #DBD0FC
Accessibility & contrast
On white
4.38
#815CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#815CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF6
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF6 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5A81A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #815cf6; /* rgb */ color: rgb(129, 92, 246); /* oklch */ color: oklch(59.7% 0.219 289.1);
Tailwind
colors: {
custom: {
50: '#ae8cfa',
500: '#815cf6',
950: '#000000',
},
}SCSS
$custom: #815cf6; $custom-light: #ae8cfa; $custom-dark: #000000;
JSON
{
"hex": "#815cf6",
"rgb": {
"r": 129,
"g": 92,
"b": 246
},
"hsl": {
"h": 254.416,
"s": 89.535,
"l": 66.275
},
"oklch": {
"l": 0.5965,
"c": 0.21891,
"h": 289.1
},
"luminance": 0.18975
}Semantic roles & 50–950 ramp
primary
#815CF6
secondary
#E4F0BE
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85