#816CF7#816CF7
#816CF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.2% C 0.200 H 286.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #816CF7 |
|---|---|
| RGB | rgb(129, 108, 247) |
| HSL | hsl(249, 90%, 70%) |
| HSV | hsv(249, 56%, 97%) |
| CMYK | cmyk(47.8%, 56.3%, 0%, 3.1%) |
| CIE-LAB | lab(54.14, 42.58, -67.18) |
| CIE-LCH | lch(54.14, 79.54, 302.37°) |
| OKLab | oklab(62.22% 0.0549 -0.1919) |
| OKLCH | oklch(62.22% 0.2 286) |
| XYZ | xyz(31.1994, 22.1062, 90.6006) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.99
Mediumpurple
#9370DB
ΔE00 5.82
Cornflower
#6A79F7
ΔE00 6.08
Periwinkle (survey)
#8E82FE
ΔE00 6.47
Purpley
#8756E4
ΔE00 7.01
Lighter Purple
#A55AF4
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816CF7 #E2F76C
analogous
#6C9DF7 #816CF7 #C76CF7
triadic
#816CF7 #F7816C #6CF781
tetradic
#816CF7 #F76C9D #E2F76C #6CF7C7
square
#816CF7 #F76C9D #E2F76C #6CF7C7
split-complementary
#816CF7 #F7C76C #9DF76C
monochromatic
#2C0CDD #4F32F4 #816CF7 #B3A6FA #E5E0FD
Accessibility & contrast
On white
3.87
#816CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#816CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816CF7
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816CF7 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0285FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#588BA7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #816cf7; /* rgb */ color: rgb(129, 108, 247); /* oklch */ color: oklch(62.2% 0.200 286.0);
Tailwind
colors: {
custom: {
50: '#ad97fb',
500: '#816cf7',
950: '#000000',
},
}SCSS
$custom: #816cf7; $custom-light: #ad97fb; $custom-dark: #000000;
JSON
{
"hex": "#816cf7",
"rgb": {
"r": 129,
"g": 108,
"b": 247
},
"hsl": {
"h": 249.065,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.62222,
"c": 0.1996,
"h": 286
},
"luminance": 0.22108
}Semantic roles & 50–950 ramp
primary
#816CF7
secondary
#EDF3CC
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85