#815EBA#815EBA
#815EBA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.141 H 299.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #815EBA |
|---|---|
| RGB | rgb(129, 94, 186) |
| HSL | hsl(263, 40%, 55%) |
| HSV | hsv(263, 49%, 73%) |
| CMYK | cmyk(30.6%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(47.26, 33.94, -43.59) |
| CIE-LCH | lch(47.26, 55.25, 307.91°) |
| OKLab | oklab(55.93% 0.0691 -0.1227) |
| OKLCH | oklch(55.93% 0.141 299.4) |
| XYZ | xyz(21.9168, 16.2175, 48.4205) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.99
Royal Purple
#7851A9
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.61
Light Indigo
#6D5ACF
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.30
Purpley
#8756E4
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815EBA #97BA5E
analogous
#5E69BA #815EBA #AF5EBA
triadic
#815EBA #BA815E #5EBA81
tetradic
#815EBA #BA5E69 #97BA5E #5EBAAF
square
#815EBA #BA5E69 #97BA5E #5EBAAF
split-complementary
#815EBA #BAAF5E #69BA5E
monochromatic
#472F6E #634299 #815EBA #A389CC #C4B4DF
Accessibility & contrast
On white
4.95
#815EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#815EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815EBA
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815EBA | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4070BD
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#756F83
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #815eba; /* rgb */ color: rgb(129, 94, 186); /* oklch */ color: oklch(55.9% 0.141 299.4);
Tailwind
colors: {
custom: {
50: '#a88ccf',
500: '#815eba',
950: '#000000',
},
}SCSS
$custom: #815eba; $custom-light: #a88ccf; $custom-dark: #000000;
JSON
{
"hex": "#815eba",
"rgb": {
"r": 129,
"g": 94,
"b": 186
},
"hsl": {
"h": 262.826,
"s": 40,
"l": 54.902
},
"oklch": {
"l": 0.55928,
"c": 0.14081,
"h": 299.4
},
"luminance": 0.16218
}Semantic roles & 50–950 ramp
primary
#815EBA
secondary
#BFCDA7
accent
#D058A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82