#815CD5#815CD5
#815CD5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.178 H 294.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #815CD5 |
|---|---|
| RGB | rgb(129, 92, 213) |
| HSL | hsl(258, 59%, 60%) |
| HSV | hsv(258, 57%, 84%) |
| CMYK | cmyk(39.4%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(48.42, 42.22, -57.28) |
| CIE-LCH | lch(48.42, 71.16, 306.39°) |
| OKLab | oklab(57.3% 0.073 -0.1628) |
| OKLCH | oklch(57.3% 0.178 294.2) |
| XYZ | xyz(24.8875, 17.1249, 64.9321) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.64
Light Indigo
#6D5ACF
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 5.32
Mediumslateblue
#7B68EE
ΔE00 5.50
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CD5 #B0D55C
analogous
#5C74D5 #815CD5 #BD5CD5
triadic
#815CD5 #D5815C #5CD581
tetradic
#815CD5 #D55C74 #B0D55C #5CD5BD
square
#815CD5 #D55C74 #B0D55C #5CD5BD
split-complementary
#815CD5 #D5BD5C #74D55C
monochromatic
#462591 #5E32C2 #815CD5 #A78DE2 #CCBDEE
Accessibility & contrast
On white
4.75
#815CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#815CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815CD5
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815CD5 | 1.00 | 4.75 | 4.43 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#6B7690
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #815cd5; /* rgb */ color: rgb(129, 92, 213); /* oklch */ color: oklch(57.3% 0.178 294.2);
Tailwind
colors: {
custom: {
50: '#aa8be3',
500: '#815cd5',
950: '#000000',
},
}SCSS
$custom: #815cd5; $custom-light: #aa8be3; $custom-dark: #000000;
JSON
{
"hex": "#815cd5",
"rgb": {
"r": 129,
"g": 92,
"b": 213
},
"hsl": {
"h": 258.347,
"s": 59.024,
"l": 59.804
},
"oklch": {
"l": 0.57304,
"c": 0.17845,
"h": 294.2
},
"luminance": 0.17126
}Semantic roles & 50–950 ramp
primary
#815CD5
secondary
#CFDEAF
accent
#E246B2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84