#815FD2#815FD2
#815FD2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.170 H 294.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #815FD2 |
|---|---|
| RGB | rgb(129, 95, 210) |
| HSL | hsl(258, 56%, 60%) |
| HSV | hsv(258, 55%, 82%) |
| CMYK | cmyk(38.6%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(48.89, 39.70, -54.81) |
| CIE-LCH | lch(48.89, 67.68, 305.92°) |
| OKLab | oklab(57.59% 0.0694 -0.1556) |
| OKLCH | oklch(57.59% 0.17 294) |
| XYZ | xyz(24.7753, 17.5041, 63.0336) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.26
Mediumslateblue
#7B68EE
ΔE00 5.33
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FD2 #B0D25F
analogous
#5F77D2 #815FD2 #BB5FD2
triadic
#815FD2 #D2815F #5FD281
tetradic
#815FD2 #D25F77 #B0D25F #5FD2BB
square
#815FD2 #D25F77 #B0D25F #5FD2BB
split-complementary
#815FD2 #D2BB5F #77D25F
monochromatic
#46288F #5E36BE #815FD2 #A78FDF #CCBFED
Accessibility & contrast
On white
4.67
#815FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#815FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #815FD2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FD2 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2975D6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#6D778F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #815fd2; /* rgb */ color: rgb(129, 95, 210); /* oklch */ color: oklch(57.6% 0.170 294.0);
Tailwind
colors: {
custom: {
50: '#aa8de0',
500: '#815fd2',
950: '#000000',
},
}SCSS
$custom: #815fd2; $custom-light: #aa8de0; $custom-dark: #000000;
JSON
{
"hex": "#815fd2",
"rgb": {
"r": 129,
"g": 95,
"b": 210
},
"hsl": {
"h": 257.739,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.57591,
"c": 0.17032,
"h": 294
},
"luminance": 0.17505
}Semantic roles & 50–950 ramp
primary
#815FD2
secondary
#CFDDB0
accent
#DF48B3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83