#815AF1#815AF1
#815AF1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.215 H 290.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #815AF1 |
|---|---|
| RGB | rgb(129, 90, 241) |
| HSL | hsl(255, 84%, 65%) |
| HSV | hsv(255, 63%, 95%) |
| CMYK | cmyk(46.5%, 62.7%, 0%, 5.5%) |
| CIE-LAB | lab(49.89, 50.96, -70.71) |
| CIE-LCH | lch(49.89, 87.16, 305.78°) |
| OKLab | oklab(58.98% 0.074 -0.2023) |
| OKLCH | oklch(58.98% 0.215 290.1) |
| XYZ | xyz(28.5821, 18.3292, 85.2339) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.46
Mediumslateblue
#7B68EE
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 5.84
Lighter Purple
#A55AF4
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.39
Dark Periwinkle
#665FD1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815AF1 #CAF15A
analogous
#5A7EF1 #815AF1 #CD5AF1
triadic
#815AF1 #F1815A #5AF181
tetradic
#815AF1 #F15A7E #CAF15A #5AF1CD
square
#815AF1 #F15A7E #CAF15A #5AF1CD
split-complementary
#815AF1 #F1CD5A #7EF15A
monochromatic
#3E10C0 #5622EC #815AF1 #AC92F6 #D7CBFB
Accessibility & contrast
On white
4.50
#815AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#815AF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815AF1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815AF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815AF1 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#5D7E9D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #815af1; /* rgb */ color: rgb(129, 90, 241); /* oklch */ color: oklch(59.0% 0.215 290.1);
Tailwind
colors: {
custom: {
50: '#ad8bf7',
500: '#815af1',
950: '#000000',
},
}SCSS
$custom: #815af1; $custom-light: #ad8bf7; $custom-dark: #000000;
JSON
{
"hex": "#815af1",
"rgb": {
"r": 129,
"g": 90,
"b": 241
},
"hsl": {
"h": 255.497,
"s": 84.358,
"l": 64.902
},
"oklch": {
"l": 0.58983,
"c": 0.21543,
"h": 290.1
},
"luminance": 0.1833
}Semantic roles & 50–950 ramp
primary
#815AF1
secondary
#E0EDBA
accent
#E105A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85