#815CF2#815CF2
#815CF2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.214 H 289.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #815CF2 |
|---|---|
| RGB | rgb(129, 92, 242) |
| HSL | hsl(255, 85%, 65%) |
| HSV | hsv(255, 62%, 95%) |
| CMYK | cmyk(46.7%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(50.37, 50.15, -70.50) |
| CIE-LCH | lch(50.37, 86.52, 305.43°) |
| OKLab | oklab(59.35% 0.0718 -0.2017) |
| OKLCH | oklch(59.35% 0.214 289.6) |
| XYZ | xyz(28.9029, 18.7311, 86.0798) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.88
Mediumslateblue
#7B68EE
ΔE00 3.48
Light Indigo
#6D5ACF
ΔE00 6.05
Lighter Purple
#A55AF4
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.58
Dark Periwinkle
#665FD1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CF2 #CDF25C
analogous
#5C82F2 #815CF2 #CC5CF2
triadic
#815CF2 #F2815C #5CF281
tetradic
#815CF2 #F25C82 #CDF25C #5CF2CC
square
#815CF2 #F25C82 #CDF25C #5CF2CC
split-complementary
#815CF2 #F2CC5C #82F25C
monochromatic
#3C10C4 #5523ED #815CF2 #AD95F7 #D9CDFB
Accessibility & contrast
On white
4.42
#815CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#815CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #815CF2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##815CF2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#5D7F9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #815cf2; /* rgb */ color: rgb(129, 92, 242); /* oklch */ color: oklch(59.4% 0.214 289.6);
Tailwind
colors: {
custom: {
50: '#ad8cf7',
500: '#815cf2',
950: '#000000',
},
}SCSS
$custom: #815cf2; $custom-light: #ad8cf7; $custom-dark: #000000;
JSON
{
"hex": "#815cf2",
"rgb": {
"r": 129,
"g": 92,
"b": 242
},
"hsl": {
"h": 254.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.59353,
"c": 0.21411,
"h": 289.6
},
"luminance": 0.18732
}Semantic roles & 50–950 ramp
primary
#815CF2
secondary
#E2EEBC
accent
#E204AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85