#815CF0#815CF0
#815CF0 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.212 H 289.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF0 |
|---|---|
| RGB | rgb(129, 92, 240) |
| HSL | hsl(255, 83%, 65%) |
| HSV | hsv(255, 62%, 94%) |
| CMYK | cmyk(46.3%, 61.7%, 0%, 5.9%) |
| CIE-LAB | lab(50.23, 49.60, -69.61) |
| CIE-LCH | lch(50.23, 85.47, 305.47°) |
| OKLab | oklab(59.21% 0.072 -0.1991) |
| OKLCH | oklch(59.21% 0.212 289.9) |
| XYZ | xyz(28.6041, 18.6116, 84.5064) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.68
Mediumslateblue
#7B68EE
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 5.83
Lighter Purple
#A55AF4
ΔE00 6.28
Slate Blue
#6A5ACD
ΔE00 6.38
Dark Periwinkle
#665FD1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF0 #CBF05C
analogous
#5C81F0 #815CF0 #CB5CF0
triadic
#815CF0 #F0815C #5CF081
tetradic
#815CF0 #F05C81 #CBF05C #5CF0CB
square
#815CF0 #F05C81 #CBF05C #5CF0CB
split-complementary
#815CF0 #F0CB5C #81F05C
monochromatic
#3D12C0 #5624EB #815CF0 #AC94F5 #D8CCFA
Accessibility & contrast
On white
4.45
#815CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#815CF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF0
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF0 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#5E7F9E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #815cf0; /* rgb */ color: rgb(129, 92, 240); /* oklch */ color: oklch(59.2% 0.212 289.9);
Tailwind
colors: {
custom: {
50: '#ad8cf6',
500: '#815cf0',
950: '#000000',
},
}SCSS
$custom: #815cf0; $custom-light: #ad8cf6; $custom-dark: #000000;
JSON
{
"hex": "#815cf0",
"rgb": {
"r": 129,
"g": 92,
"b": 240
},
"hsl": {
"h": 255,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.59205,
"c": 0.2117,
"h": 289.9
},
"luminance": 0.18613
}Semantic roles & 50–950 ramp
primary
#815CF0
secondary
#E0EDBB
accent
#E006A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85