#815CDC#815CDC
#815CDC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.187 H 292.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #815CDC |
|---|---|
| RGB | rgb(129, 92, 220) |
| HSL | hsl(257, 65%, 61%) |
| HSV | hsv(257, 58%, 86%) |
| CMYK | cmyk(41.4%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.87, 44.11, -60.53) |
| CIE-LCH | lch(48.87, 74.90, 306.08°) |
| OKLab | oklab(57.78% 0.0729 -0.1724) |
| OKLCH | oklch(57.78% 0.187 292.9) |
| XYZ | xyz(25.7952, 17.4880, 69.7127) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.02
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.73
Mediumslateblue
#7B68EE
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 5.35
Iris
#6258C4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CDC #B7DC5C
analogous
#5C77DC #815CDC #C15CDC
triadic
#815CDC #DC815C #5CDC81
tetradic
#815CDC #DC5C77 #B7DC5C #5CDCC1
square
#815CDC #DC5C77 #B7DC5C #5CDCC1
split-complementary
#815CDC #DCC15C #77DC5C
monochromatic
#45229C #5B2CCE #815CDC #A88EE7 #CFC1F2
Accessibility & contrast
On white
4.67
#815CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#815CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #815CDC
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815CDC | 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)
#0076E0
Deuteranopia (green-blind)
#1972D9
Tritanopia (blue-blind)
#687893
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #815cdc; /* rgb */ color: rgb(129, 92, 220); /* oklch */ color: oklch(57.8% 0.187 292.9);
Tailwind
colors: {
custom: {
50: '#ab8be8',
500: '#815cdc',
950: '#000000',
},
}SCSS
$custom: #815cdc; $custom-light: #ab8be8; $custom-dark: #000000;
JSON
{
"hex": "#815cdc",
"rgb": {
"r": 129,
"g": 92,
"b": 220
},
"hsl": {
"h": 257.344,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.5778,
"c": 0.18719,
"h": 292.9
},
"luminance": 0.17489
}Semantic roles & 50–950 ramp
primary
#815CDC
secondary
#D4E2B2
accent
#CC1999
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84