#815DC0#815DC0
#815DC0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.1% C 0.150 H 298.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #815DC0 |
|---|---|
| RGB | rgb(129, 93, 192) |
| HSL | hsl(262, 44%, 56%) |
| HSV | hsv(262, 52%, 75%) |
| CMYK | cmyk(32.8%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(47.37, 36.07, -46.90) |
| CIE-LCH | lch(47.37, 59.17, 307.57°) |
| OKLab | oklab(56.12% 0.071 -0.1324) |
| OKLCH | oklch(56.12% 0.15 298.2) |
| XYZ | xyz(22.4797, 16.3014, 51.8211) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.52
Purpley
#8756E4
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815DC0 #9CC05D
analogous
#5D6AC0 #815DC0 #B25DC0
triadic
#815DC0 #C0815D #5DC081
tetradic
#815DC0 #C05D6A #9CC05D #5DC0B2
square
#815DC0 #C05D6A #9CC05D #5DC0B2
split-complementary
#815DC0 #C0B25D #6AC05D
monochromatic
#482E75 #623FA1 #815DC0 #A389D1 #C6B5E2
Accessibility & contrast
On white
4.93
#815DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#815DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815DC0
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815DC0 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3970C3
Deuteranopia (green-blind)
#426FBE
Tritanopia (blue-blind)
#737086
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #815dc0; /* rgb */ color: rgb(129, 93, 192); /* oklch */ color: oklch(56.1% 0.150 298.2);
Tailwind
colors: {
custom: {
50: '#a98cd3',
500: '#815dc0',
950: '#000000',
},
}SCSS
$custom: #815dc0; $custom-light: #a98cd3; $custom-dark: #000000;
JSON
{
"hex": "#815dc0",
"rgb": {
"r": 129,
"g": 93,
"b": 192
},
"hsl": {
"h": 261.818,
"s": 44,
"l": 55.882
},
"oklch": {
"l": 0.56118,
"c": 0.15019,
"h": 298.2
},
"luminance": 0.16302
}Semantic roles & 50–950 ramp
primary
#815DC0
secondary
#C2D1A8
accent
#D454A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83