#815FCA#815FCA
#815FCA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.160 H 295.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #815FCA |
|---|---|
| RGB | rgb(129, 95, 202) |
| HSL | hsl(259, 50%, 58%) |
| HSV | hsv(259, 53%, 79%) |
| CMYK | cmyk(36.1%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(48.41, 37.56, -51.00) |
| CIE-LCH | lch(48.41, 63.34, 306.37°) |
| OKLab | oklab(57.08% 0.069 -0.1444) |
| OKLCH | oklch(57.08% 0.16 295.5) |
| XYZ | xyz(23.8034, 17.1154, 57.9152) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.37
Purpley
#8756E4
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.83
Deep Lavender
#8D5EB7
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.64
Iris
#6258C4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FCA #A8CA5F
analogous
#5F72CA #815FCA #B65FCA
triadic
#815FCA #CA815F #5FCA81
tetradic
#815FCA #CA5F72 #A8CA5F #5FCAB6
square
#815FCA #CA5F72 #A8CA5F #5FCAB6
split-complementary
#815FCA #CAB65F #72CA5F
monochromatic
#472B83 #603BB1 #815FCA #A58DD9 #C9BBE8
Accessibility & contrast
On white
4.75
#815FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#815FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FCA
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FCA | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#3C71C8
Tritanopia (blue-blind)
#70758B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #815fca; /* rgb */ color: rgb(129, 95, 202); /* oklch */ color: oklch(57.1% 0.160 295.5);
Tailwind
colors: {
custom: {
50: '#a98ddb',
500: '#815fca',
950: '#000000',
},
}SCSS
$custom: #815fca; $custom-light: #a98ddb; $custom-dark: #000000;
JSON
{
"hex": "#815fca",
"rgb": {
"r": 129,
"g": 95,
"b": 202
},
"hsl": {
"h": 259.065,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.57077,
"c": 0.16004,
"h": 295.5
},
"luminance": 0.17116
}Semantic roles & 50–950 ramp
primary
#815FCA
secondary
#CAD8AD
accent
#DA4EAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83