#815DC2#815DC2
#815DC2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.153 H 297.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #815DC2 |
|---|---|
| RGB | rgb(129, 93, 194) |
| HSL | hsl(261, 45%, 56%) |
| HSV | hsv(261, 52%, 76%) |
| CMYK | cmyk(33.5%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(47.48, 36.60, -47.87) |
| CIE-LCH | lch(47.48, 60.26, 307.40°) |
| OKLab | oklab(56.24% 0.0711 -0.1352) |
| OKLCH | oklch(56.24% 0.153 297.7) |
| XYZ | xyz(22.7028, 16.3906, 52.9961) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.31
Purpley
#8756E4
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 5.47
Amethyst
#9B5FC0
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815DC2 #9EC25D
analogous
#5D6CC2 #815DC2 #B45DC2
triadic
#815DC2 #C2815D #5DC281
tetradic
#815DC2 #C25D6C #9EC25D #5DC2B4
square
#815DC2 #C25D6C #9EC25D #5DC2B4
split-complementary
#815DC2 #C2B45D #6CC25D
monochromatic
#482D78 #623EA4 #815DC2 #A489D3 #C6B6E3
Accessibility & contrast
On white
4.91
#815DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#815DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815DC2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815DC2 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3771C5
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#737187
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815dc2; /* rgb */ color: rgb(129, 93, 194); /* oklch */ color: oklch(56.2% 0.153 297.7);
Tailwind
colors: {
custom: {
50: '#a98cd5',
500: '#815dc2',
950: '#000000',
},
}SCSS
$custom: #815dc2; $custom-light: #a98cd5; $custom-dark: #000000;
JSON
{
"hex": "#815dc2",
"rgb": {
"r": 129,
"g": 93,
"b": 194
},
"hsl": {
"h": 261.386,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.56241,
"c": 0.15277,
"h": 297.7
},
"luminance": 0.16391
}Semantic roles & 50–950 ramp
primary
#815DC2
secondary
#C3D2A9
accent
#D553A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83