#815CF7#815CF7
#815CF7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.220 H 288.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF7 |
|---|---|
| RGB | rgb(129, 92, 247) |
| HSL | hsl(254, 91%, 66%) |
| HSV | hsv(254, 63%, 97%) |
| CMYK | cmyk(47.8%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(50.73, 51.53, -72.71) |
| CIE-LCH | lch(50.73, 89.12, 305.33°) |
| OKLab | oklab(59.72% 0.0714 -0.2082) |
| OKLCH | oklch(59.72% 0.22 288.9) |
| XYZ | xyz(29.6641, 19.0356, 90.0889) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.41
Mediumslateblue
#7B68EE
ΔE00 3.50
Lighter Purple
#A55AF4
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 6.59
Dark Periwinkle
#665FD1
ΔE00 7.04
Slate Blue
#6A5ACD
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF7 #D2F75C
analogous
#5C85F7 #815CF7 #CF5CF7
triadic
#815CF7 #F7815C #5CF781
tetradic
#815CF7 #F75C85 #D2F75C #5CF7CF
square
#815CF7 #F75C85 #D2F75C #5CF7CF
split-complementary
#815CF7 #F7CF5C #85F75C
monochromatic
#390ACE #5422F4 #815CF7 #AE96FA #DBD1FD
Accessibility & contrast
On white
4.37
#815CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#815CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF7
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF7 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#5A81A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #815cf7; /* rgb */ color: rgb(129, 92, 247); /* oklch */ color: oklch(59.7% 0.220 288.9);
Tailwind
colors: {
custom: {
50: '#ae8cfb',
500: '#815cf7',
950: '#000000',
},
}SCSS
$custom: #815cf7; $custom-light: #ae8cfb; $custom-dark: #000000;
JSON
{
"hex": "#815cf7",
"rgb": {
"r": 129,
"g": 92,
"b": 247
},
"hsl": {
"h": 254.323,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.59725,
"c": 0.22011,
"h": 288.9
},
"luminance": 0.19037
}Semantic roles & 50–950 ramp
primary
#815CF7
secondary
#E5F1BE
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86