#815DCE#815DCE
#815DCE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.168 H 295.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #815DCE |
|---|---|
| RGB | rgb(129, 93, 206) |
| HSL | hsl(259, 54%, 59%) |
| HSV | hsv(259, 55%, 81%) |
| CMYK | cmyk(37.4%, 54.9%, 0%, 19.2%) |
| CIE-LAB | lab(48.20, 39.77, -53.63) |
| CIE-LCH | lch(48.20, 66.77, 306.56°) |
| OKLab | oklab(57% 0.0717 -0.1521) |
| OKLCH | oklch(57% 0.168 295.2) |
| XYZ | xyz(24.1053, 16.9516, 60.3825) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.48
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815DCE #AACE5D
analogous
#5D71CE #815DCE #B95DCE
triadic
#815DCE #CE815D #5DCE81
tetradic
#815DCE #CE5D71 #AACE5D #5DCEB9
square
#815DCE #CE5D71 #AACE5D #5DCEB9
split-complementary
#815DCE #CEB95D #71CE5D
monochromatic
#472988 #6037B7 #815DCE #A68CDC #CABBEA
Accessibility & contrast
On white
4.78
#815DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#815DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815DCE
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815DCE | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#6E748C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #815dce; /* rgb */ color: rgb(129, 93, 206); /* oklch */ color: oklch(57.0% 0.168 295.2);
Tailwind
colors: {
custom: {
50: '#aa8cde',
500: '#815dce',
950: '#000000',
},
}SCSS
$custom: #815dce; $custom-light: #aa8cde; $custom-dark: #000000;
JSON
{
"hex": "#815dce",
"rgb": {
"r": 129,
"g": 93,
"b": 206
},
"hsl": {
"h": 259.115,
"s": 53.555,
"l": 58.627
},
"oklch": {
"l": 0.57003,
"c": 0.16815,
"h": 295.2
},
"luminance": 0.16952
}Semantic roles & 50–950 ramp
primary
#815DCE
secondary
#CCDAAD
accent
#DD4BAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83