#815FDA#815FDA
#815FDA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.180 H 292.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #815FDA |
|---|---|
| RGB | rgb(129, 95, 218) |
| HSL | hsl(257, 62%, 61%) |
| HSV | hsv(257, 56%, 85%) |
| CMYK | cmyk(40.8%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(49.39, 41.87, -58.56) |
| CIE-LCH | lch(49.39, 71.99, 305.57°) |
| OKLab | oklab(58.12% 0.0695 -0.1666) |
| OKLCH | oklch(58.12% 0.18 292.6) |
| XYZ | xyz(25.7969, 17.9128, 68.4144) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Light Indigo
#6D5ACF
ΔE00 4.24
Mediumslateblue
#7B68EE
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.82
Dark Periwinkle
#665FD1
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FDA #B8DA5F
analogous
#5F7BDA #815FDA #BF5FDA
triadic
#815FDA #DA815F #5FDA81
tetradic
#815FDA #DA5F7B #B8DA5F #5FDABF
square
#815FDA #DA5F7B #B8DA5F #5FDABF
split-complementary
#815FDA #DABF5F #7BDA5F
monochromatic
#45249B #5B2FCD #815FDA #A891E5 #CFC2F1
Accessibility & contrast
On white
4.58
#815FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#815FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815FDA
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815FDA | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A77DE
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#697993
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #815fda; /* rgb */ color: rgb(129, 95, 218); /* oklch */ color: oklch(58.1% 0.180 292.6);
Tailwind
colors: {
custom: {
50: '#ab8de6',
500: '#815fda',
950: '#000000',
},
}SCSS
$custom: #815fda; $custom-light: #ab8de6; $custom-dark: #000000;
JSON
{
"hex": "#815fda",
"rgb": {
"r": 129,
"g": 95,
"b": 218
},
"hsl": {
"h": 256.585,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.58122,
"c": 0.18049,
"h": 292.6
},
"luminance": 0.17914
}Semantic roles & 50–950 ramp
primary
#815FDA
secondary
#D5E1B3
accent
#CA1B9A
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100C16
muted
#7F7D84