#816AF2#816AF2
#816AF2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.196 H 286.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #816AF2 |
|---|---|
| RGB | rgb(129, 106, 242) |
| HSL | hsl(250, 84%, 68%) |
| HSV | hsv(250, 56%, 95%) |
| CMYK | cmyk(46.7%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(53.37, 42.30, -65.65) |
| CIE-LCH | lch(53.37, 78.09, 302.80°) |
| OKLab | oklab(61.55% 0.057 -0.1874) |
| OKLCH | oklch(61.55% 0.196 286.9) |
| XYZ | xyz(30.2297, 21.3847, 86.5220) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.30
Mediumpurple
#9370DB
ΔE00 5.45
Purpley
#8756E4
ΔE00 6.18
Cornflower
#6A79F7
ΔE00 6.65
Periwinkle (survey)
#8E82FE
ΔE00 7.19
Lighter Purple
#A55AF4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816AF2 #DBF26A
analogous
#6A97F2 #816AF2 #C56AF2
triadic
#816AF2 #F2816A #6AF281
tetradic
#816AF2 #F26A97 #DBF26A #6AF2C5
square
#816AF2 #F26A97 #DBF26A #6AF2C5
split-complementary
#816AF2 #F2C56A #97F26A
monochromatic
#3212CF #5132ED #816AF2 #B1A2F7 #E0DBFC
Accessibility & contrast
On white
3.98
#816AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#816AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816AF2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816AF2 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B83F7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#5C88A4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #816af2; /* rgb */ color: rgb(129, 106, 242); /* oklch */ color: oklch(61.5% 0.196 286.9);
Tailwind
colors: {
custom: {
50: '#ad95f7',
500: '#816af2',
950: '#000000',
},
}SCSS
$custom: #816af2; $custom-light: #ad95f7; $custom-dark: #000000;
JSON
{
"hex": "#816af2",
"rgb": {
"r": 129,
"g": 106,
"b": 242
},
"hsl": {
"h": 250.147,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.61549,
"c": 0.19589,
"h": 286.9
},
"luminance": 0.21386
}Semantic roles & 50–950 ramp
primary
#816AF2
secondary
#EAF1C7
accent
#E005BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85