#815FC0#815FC0
#815FC0 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.147 H 297.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #815FC0 |
|---|---|
| RGB | rgb(129, 95, 192) |
| HSL | hsl(261, 43%, 56%) |
| HSV | hsv(261, 51%, 75%) |
| CMYK | cmyk(32.8%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.83, 34.92, -46.17) |
| CIE-LCH | lch(47.83, 57.88, 307.10°) |
| OKLab | oklab(56.46% 0.0683 -0.1302) |
| OKLCH | oklch(56.46% 0.147 297.7) |
| XYZ | xyz(22.6576, 16.6571, 51.8804) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 5.79
Purpley
#8756E4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FC0 #9EC05F
analogous
#5F6EC0 #815FC0 #B25FC0
triadic
#815FC0 #C0815F #5FC081
tetradic
#815FC0 #C05F6E #9EC05F #5FC0B2
square
#815FC0 #C05F6E #9EC05F #5FC0B2
split-complementary
#815FC0 #C0B25F #6EC05F
monochromatic
#482F76 #6240A2 #815FC0 #A48BD1 #C6B7E3
Accessibility & contrast
On white
4.85
#815FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#815FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FC0
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FC0 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C72C3
Deuteranopia (green-blind)
#4570BE
Tritanopia (blue-blind)
#737287
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815fc0; /* rgb */ color: rgb(129, 95, 192); /* oklch */ color: oklch(56.5% 0.147 297.7);
Tailwind
colors: {
custom: {
50: '#a98dd3',
500: '#815fc0',
950: '#000000',
},
}SCSS
$custom: #815fc0; $custom-light: #a98dd3; $custom-dark: #000000;
JSON
{
"hex": "#815fc0",
"rgb": {
"r": 129,
"g": 95,
"b": 192
},
"hsl": {
"h": 261.031,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.56459,
"c": 0.14705,
"h": 297.7
},
"luminance": 0.16657
}Semantic roles & 50–950 ramp
primary
#815FC0
secondary
#C3D1A9
accent
#D355A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83