#815CF1#815CF1
#815CF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.213 H 289.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF1 |
|---|---|
| RGB | rgb(129, 92, 241) |
| HSL | hsl(255, 84%, 65%) |
| HSV | hsv(255, 62%, 95%) |
| CMYK | cmyk(46.5%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(50.30, 49.87, -70.05) |
| CIE-LCH | lch(50.30, 85.99, 305.45°) |
| OKLab | oklab(59.28% 0.0719 -0.2004) |
| OKLCH | oklch(59.28% 0.213 289.7) |
| XYZ | xyz(28.7531, 18.6712, 85.2909) |
| Luminance | 0.1867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Mediumslateblue
#7B68EE
ΔE00 3.49
Light Indigo
#6D5ACF
ΔE00 5.94
Lighter Purple
#A55AF4
ΔE00 6.27
Slate Blue
#6A5ACD
ΔE00 6.48
Dark Periwinkle
#665FD1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF1 #CCF15C
analogous
#5C82F1 #815CF1 #CB5CF1
triadic
#815CF1 #F1815C #5CF181
tetradic
#815CF1 #F15C82 #CCF15C #5CF1CB
square
#815CF1 #F15C82 #CCF15C #5CF1CB
split-complementary
#815CF1 #F1CB5C #82F15C
monochromatic
#3D11C2 #5524EC #815CF1 #AD94F6 #D8CDFB
Accessibility & contrast
On white
4.44
#815CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#815CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF1
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF1 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#5D7F9E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #815cf1; /* rgb */ color: rgb(129, 92, 241); /* oklch */ color: oklch(59.3% 0.213 289.7);
Tailwind
colors: {
custom: {
50: '#ad8cf7',
500: '#815cf1',
950: '#000000',
},
}SCSS
$custom: #815cf1; $custom-light: #ad8cf7; $custom-dark: #000000;
JSON
{
"hex": "#815cf1",
"rgb": {
"r": 129,
"g": 92,
"b": 241
},
"hsl": {
"h": 254.899,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.59279,
"c": 0.21291,
"h": 289.7
},
"luminance": 0.18672
}Semantic roles & 50–950 ramp
primary
#815CF1
secondary
#E1EEBB
accent
#E105AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85