#808EFA#808EFA
#808EFA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.159 H 275.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #808EFA |
|---|---|
| RGB | rgb(128, 142, 250) |
| HSL | hsl(233, 92%, 74%) |
| HSV | hsv(233, 49%, 98%) |
| CMYK | cmyk(48.8%, 43.2%, 0%, 2%) |
| CIE-LAB | lab(62.37, 23.38, -55.65) |
| CIE-LCH | lch(62.37, 60.36, 292.79°) |
| OKLab | oklab(68.44% 0.0161 -0.1578) |
| OKLCH | oklch(68.44% 0.159 275.8) |
| XYZ | xyz(35.8250, 30.8352, 94.4880) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.36
Periwinkle Blue
#8F99FB
ΔE00 3.57
Perrywinkle
#8F8CE7
ΔE00 4.68
Periwinkle (survey)
#8E82FE
ΔE00 5.24
Soft Blue
#6488EA
ΔE00 5.31
Cornflower
#6A79F7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#808EFA #FAEC80
analogous
#80CBFA #808EFA #AF80FA
triadic
#808EFA #FA808E #8EFA80
tetradic
#808EFA #FA80CB #FAEC80 #80FAAF
square
#808EFA #FA80CB #FAEC80 #80FAAF
split-complementary
#808EFA #FAAF80 #CBFA80
monochromatic
#0A25F5 #455AF8 #808EFA #BBC2FC #E2E5FE
Accessibility & contrast
On white
2.93
#808EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#808EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #808EFA
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##808EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##808EFA | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#50A5B8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #808efa; /* rgb */ color: rgb(128, 142, 250); /* oklch */ color: oklch(68.4% 0.159 275.8);
Tailwind
colors: {
custom: {
50: '#abaefc',
500: '#808efa',
950: '#000000',
},
}SCSS
$custom: #808efa; $custom-light: #abaefc; $custom-dark: #000000;
JSON
{
"hex": "#808efa",
"rgb": {
"r": 128,
"g": 142,
"b": 250
},
"hsl": {
"h": 233.115,
"s": 92.424,
"l": 74.118
},
"oklch": {
"l": 0.68443,
"c": 0.15866,
"h": 275.8
},
"luminance": 0.30837
}Semantic roles & 50–950 ramp
primary
#808EFA
secondary
#F6F2D5
accent
#CB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85