#815BDC#815BDC
#815BDC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.189 H 293.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #815BDC |
|---|---|
| RGB | rgb(129, 91, 220) |
| HSL | hsl(258, 65%, 61%) |
| HSV | hsv(258, 59%, 86%) |
| CMYK | cmyk(41.4%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(48.66, 44.67, -60.88) |
| CIE-LCH | lch(48.66, 75.51, 306.27°) |
| OKLab | oklab(57.62% 0.0741 -0.1734) |
| OKLCH | oklch(57.62% 0.189 293.1) |
| XYZ | xyz(25.7091, 17.3159, 69.6840) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.84
Light Indigo
#6D5ACF
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.70
Mediumslateblue
#7B68EE
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.41
Iris
#6258C4
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BDC #B6DC5B
analogous
#5B75DC #815BDC #C15BDC
triadic
#815BDC #DC815B #5BDC81
tetradic
#815BDC #DC5B75 #B6DC5B #5BDCC1
square
#815BDC #DC5B75 #B6DC5B #5BDCC1
split-complementary
#815BDC #DCC15B #75DC5B
monochromatic
#45219B #5C2CCE #815BDC #A88DE7 #CEC0F2
Accessibility & contrast
On white
4.70
#815BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#815BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BDC
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BDC | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#1571D9
Tritanopia (blue-blind)
#687793
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #815bdc; /* rgb */ color: rgb(129, 91, 220); /* oklch */ color: oklch(57.6% 0.189 293.1);
Tailwind
colors: {
custom: {
50: '#ab8be8',
500: '#815bdc',
950: '#000000',
},
}SCSS
$custom: #815bdc; $custom-light: #ab8be8; $custom-dark: #000000;
JSON
{
"hex": "#815bdc",
"rgb": {
"r": 129,
"g": 91,
"b": 220
},
"hsl": {
"h": 257.674,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.57623,
"c": 0.18857,
"h": 293.1
},
"luminance": 0.17317
}Semantic roles & 50–950 ramp
primary
#815BDC
secondary
#D3E2B1
accent
#CD1998
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84