#815FF6#815FF6
#815FF6 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.215 H 288.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #815FF6 |
|---|---|
| RGB | rgb(129, 95, 246) |
| HSL | hsl(254, 89%, 67%) |
| HSV | hsv(254, 61%, 96%) |
| CMYK | cmyk(47.6%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(51.27, 49.62, -71.27) |
| CIE-LCH | lch(51.27, 86.84, 304.84°) |
| OKLab | oklab(60.1% 0.0685 -0.204) |
| OKLCH | oklch(60.1% 0.215 288.6) |
| XYZ | xyz(29.7752, 19.5041, 89.3667) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.80
Purpley
#8756E4
ΔE00 3.84
Lighter Purple
#A55AF4
ΔE00 6.29
Light Indigo
#6D5ACF
ΔE00 6.72
Dark Periwinkle
#665FD1
ΔE00 6.98
Mediumpurple
#9370DB
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FF6 #D4F65F
analogous
#5F89F6 #815FF6 #CD5FF6
triadic
#815FF6 #F6815F #5FF681
tetradic
#815FF6 #F65F89 #D4F65F #5FF6CD
square
#815FF6 #F65F89 #D4F65F #5FF6CD
split-complementary
#815FF6 #F6CD5F #89F65F
monochromatic
#380CCF #5325F3 #815FF6 #AF99F9 #DCD3FD
Accessibility & contrast
On white
4.28
#815FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#815FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815FF6
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815FF6 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#5A83A2
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #815ff6; /* rgb */ color: rgb(129, 95, 246); /* oklch */ color: oklch(60.1% 0.215 288.6);
Tailwind
colors: {
custom: {
50: '#ae8efa',
500: '#815ff6',
950: '#000000',
},
}SCSS
$custom: #815ff6; $custom-light: #ae8efa; $custom-dark: #000000;
JSON
{
"hex": "#815ff6",
"rgb": {
"r": 129,
"g": 95,
"b": 246
},
"hsl": {
"h": 253.51,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.60097,
"c": 0.21515,
"h": 288.6
},
"luminance": 0.19505
}Semantic roles & 50–950 ramp
primary
#815FF6
secondary
#E6F1C0
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85