#815CCF#815CCF
#815CCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.171 H 295.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #815CCF |
|---|---|
| RGB | rgb(129, 92, 207) |
| HSL | hsl(259, 55%, 59%) |
| HSV | hsv(259, 56%, 81%) |
| CMYK | cmyk(37.7%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(48.04, 40.61, -54.46) |
| CIE-LCH | lch(48.04, 67.93, 306.71°) |
| OKLab | oklab(56.9% 0.073 -0.1545) |
| OKLCH | oklch(56.9% 0.171 295.3) |
| XYZ | xyz(24.1400, 16.8259, 60.9953) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 5.61
Iris
#6258C4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CCF #AACF5C
analogous
#5C70CF #815CCF #BA5CCF
triadic
#815CCF #CF815C #5CCF81
tetradic
#815CCF #CF5C70 #AACF5C #5CCFBA
square
#815CCF #CF5C70 #AACF5C #5CCFBA
split-complementary
#815CCF #CFBA5C #70CF5C
monochromatic
#472888 #6036B8 #815CCF #A68BDD #CABBEB
Accessibility & contrast
On white
4.81
#815CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#815CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815CCF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815CCF | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#6E748D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #815ccf; /* rgb */ color: rgb(129, 92, 207); /* oklch */ color: oklch(56.9% 0.171 295.3);
Tailwind
colors: {
custom: {
50: '#aa8bde',
500: '#815ccf',
950: '#000000',
},
}SCSS
$custom: #815ccf; $custom-light: #aa8bde; $custom-dark: #000000;
JSON
{
"hex": "#815ccf",
"rgb": {
"r": 129,
"g": 92,
"b": 207
},
"hsl": {
"h": 259.304,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.56905,
"c": 0.17088,
"h": 295.3
},
"luminance": 0.16826
}Semantic roles & 50–950 ramp
primary
#815CCF
secondary
#CCDAAD
accent
#DE4AAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83