#815CF3#815CF3
#815CF3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.215 H 289.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF3 |
|---|---|
| RGB | rgb(129, 92, 243) |
| HSL | hsl(255, 86%, 66%) |
| HSV | hsv(255, 62%, 95%) |
| CMYK | cmyk(46.9%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(50.44, 50.42, -70.94) |
| CIE-LCH | lch(50.44, 87.04, 305.40°) |
| OKLab | oklab(59.43% 0.0718 -0.203) |
| OKLCH | oklch(59.43% 0.215 289.5) |
| XYZ | xyz(29.0534, 18.7913, 86.8729) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.98
Mediumslateblue
#7B68EE
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 6.25
Slate Blue
#6A5ACD
ΔE00 6.69
Dark Periwinkle
#665FD1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF3 #CEF35C
analogous
#5C82F3 #815CF3 #CC5CF3
triadic
#815CF3 #F3815C #5CF381
tetradic
#815CF3 #F35C82 #CEF35C #5CF3CC
square
#815CF3 #F35C82 #CEF35C #5CF3CC
split-complementary
#815CF3 #F3CC5C #82F35C
monochromatic
#3C0FC6 #5523EF #815CF3 #AD95F7 #D9CEFB
Accessibility & contrast
On white
4.41
#815CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#815CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF3 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5C809F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #815cf3; /* rgb */ color: rgb(129, 92, 243); /* oklch */ color: oklch(59.4% 0.215 289.5);
Tailwind
colors: {
custom: {
50: '#ae8cf8',
500: '#815cf3',
950: '#000000',
},
}SCSS
$custom: #815cf3; $custom-light: #ae8cf8; $custom-dark: #000000;
JSON
{
"hex": "#815cf3",
"rgb": {
"r": 129,
"g": 92,
"b": 243
},
"hsl": {
"h": 254.702,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.59427,
"c": 0.21531,
"h": 289.5
},
"luminance": 0.18792
}Semantic roles & 50–950 ramp
primary
#815CF3
secondary
#E2EFBC
accent
#E303AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85