#815BF3#815BF3
#815BF3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.217 H 289.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #815BF3 |
|---|---|
| RGB | rgb(129, 91, 243) |
| HSL | hsl(255, 86%, 65%) |
| HSV | hsv(255, 63%, 95%) |
| CMYK | cmyk(46.9%, 62.6%, 0%, 4.7%) |
| CIE-LAB | lab(50.24, 50.97, -71.27) |
| CIE-LCH | lch(50.24, 87.62, 305.57°) |
| OKLab | oklab(59.28% 0.0728 -0.204) |
| OKLCH | oklch(59.28% 0.217 289.6) |
| XYZ | xyz(28.9674, 18.6192, 86.8442) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.82
Mediumslateblue
#7B68EE
ΔE00 3.72
Light Indigo
#6D5ACF
ΔE00 6.10
Lighter Purple
#A55AF4
ΔE00 6.27
Slate Blue
#6A5ACD
ΔE00 6.64
Dark Periwinkle
#665FD1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BF3 #CDF35B
analogous
#5B81F3 #815BF3 #CD5BF3
triadic
#815BF3 #F3815B #5BF381
tetradic
#815BF3 #F35B81 #CDF35B #5BF3CD
square
#815BF3 #F35B81 #CDF35B #5BF3CD
split-complementary
#815BF3 #F3CD5B #81F35B
monochromatic
#3C0EC5 #5522EF #815BF3 #AD94F7 #D9CDFB
Accessibility & contrast
On white
4.45
#815BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#815BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815BF3
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815BF3 | 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)
#007AF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5C7F9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #815bf3; /* rgb */ color: rgb(129, 91, 243); /* oklch */ color: oklch(59.3% 0.217 289.6);
Tailwind
colors: {
custom: {
50: '#ae8bf8',
500: '#815bf3',
950: '#000000',
},
}SCSS
$custom: #815bf3; $custom-light: #ae8bf8; $custom-dark: #000000;
JSON
{
"hex": "#815bf3",
"rgb": {
"r": 129,
"g": 91,
"b": 243
},
"hsl": {
"h": 255,
"s": 86.364,
"l": 65.49
},
"oklch": {
"l": 0.59279,
"c": 0.21656,
"h": 289.6
},
"luminance": 0.1862
}Semantic roles & 50–950 ramp
primary
#815BF3
secondary
#E2EEBB
accent
#E303AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85