#815DC3#815DC3
#815DC3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.154 H 297.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #815DC3 |
|---|---|
| RGB | rgb(129, 93, 195) |
| HSL | hsl(261, 46%, 56%) |
| HSV | hsv(261, 52%, 76%) |
| CMYK | cmyk(33.8%, 52.3%, 0%, 23.5%) |
| CIE-LAB | lab(47.54, 36.86, -48.35) |
| CIE-LCH | lch(47.54, 60.80, 307.32°) |
| OKLab | oklab(56.3% 0.0712 -0.1366) |
| OKLCH | oklch(56.3% 0.154 297.5) |
| XYZ | xyz(22.8155, 16.4357, 53.5895) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.21
Purpley
#8756E4
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 5.60
Amethyst
#9B5FC0
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815DC3 #9FC35D
analogous
#5D6CC3 #815DC3 #B45DC3
triadic
#815DC3 #C3815D #5DC381
tetradic
#815DC3 #C35D6C #9FC35D #5DC3B4
square
#815DC3 #C35D6C #9FC35D #5DC3B4
split-complementary
#815DC3 #C3B45D #6CC35D
monochromatic
#482D79 #623DA6 #815DC3 #A48AD4 #C6B6E4
Accessibility & contrast
On white
4.90
#815DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#815DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815DC3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815DC3 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3671C7
Deuteranopia (green-blind)
#3F70C1
Tritanopia (blue-blind)
#727187
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815dc3; /* rgb */ color: rgb(129, 93, 195); /* oklch */ color: oklch(56.3% 0.154 297.5);
Tailwind
colors: {
custom: {
50: '#a98cd6',
500: '#815dc3',
950: '#000000',
},
}SCSS
$custom: #815dc3; $custom-light: #a98cd6; $custom-dark: #000000;
JSON
{
"hex": "#815dc3",
"rgb": {
"r": 129,
"g": 93,
"b": 195
},
"hsl": {
"h": 261.176,
"s": 45.946,
"l": 56.471
},
"oklch": {
"l": 0.56303,
"c": 0.15406,
"h": 297.5
},
"luminance": 0.16436
}Semantic roles & 50–950 ramp
primary
#815DC3
secondary
#C4D3A9
accent
#D652A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83