#815DCD#815DCD
#815DCD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.167 H 295.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #815DCD |
|---|---|
| RGB | rgb(129, 93, 205) |
| HSL | hsl(259, 53%, 58%) |
| HSV | hsv(259, 55%, 80%) |
| CMYK | cmyk(37.1%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(48.14, 39.50, -53.15) |
| CIE-LCH | lch(48.14, 66.23, 306.62°) |
| OKLab | oklab(56.94% 0.0717 -0.1507) |
| OKLCH | oklch(56.94% 0.167 295.4) |
| XYZ | xyz(23.9842, 16.9032, 59.7448) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.76
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.58
Deep Lavender
#8D5EB7
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 5.53
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815DCD #A9CD5D
analogous
#5D71CD #815DCD #B95DCD
triadic
#815DCD #CD815D #5DCD81
tetradic
#815DCD #CD5D71 #A9CD5D #5DCDB9
square
#815DCD #CD5D71 #A9CD5D #5DCDB9
split-complementary
#815DCD #CDB95D #71CD5D
monochromatic
#472986 #6038B5 #815DCD #A58CDB #CABBEA
Accessibility & contrast
On white
4.79
#815DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#815DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815DCD
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815DCD | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#6F748C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #815dcd; /* rgb */ color: rgb(129, 93, 205); /* oklch */ color: oklch(56.9% 0.167 295.4);
Tailwind
colors: {
custom: {
50: '#aa8cdd',
500: '#815dcd',
950: '#000000',
},
}SCSS
$custom: #815dcd; $custom-light: #aa8cdd; $custom-dark: #000000;
JSON
{
"hex": "#815dcd",
"rgb": {
"r": 129,
"g": 93,
"b": 205
},
"hsl": {
"h": 259.286,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.56938,
"c": 0.16687,
"h": 295.4
},
"luminance": 0.16904
}Semantic roles & 50–950 ramp
primary
#815DCD
secondary
#CBD9AD
accent
#DC4CAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83