#808CFA#808CFA
#808CFA is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.161 H 276.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #808CFA |
|---|---|
| RGB | rgb(128, 140, 250) |
| HSL | hsl(234, 92%, 74%) |
| HSV | hsv(234, 49%, 98%) |
| CMYK | cmyk(48.8%, 44%, 0%, 2%) |
| CIE-LAB | lab(61.87, 24.56, -56.45) |
| CIE-LCH | lch(61.87, 61.56, 293.51°) |
| OKLab | oklab(68.06% 0.0183 -0.1602) |
| OKLCH | oklch(68.06% 0.161 276.5) |
| XYZ | xyz(35.5301, 30.2454, 94.3897) |
| Luminance | 0.3025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 2.89
Periwinkle Blue
#8F99FB
ΔE00 4.00
Perrywinkle
#8F8CE7
ΔE00 4.50
Periwinkle (survey)
#8E82FE
ΔE00 4.69
Soft Blue
#6488EA
ΔE00 5.38
Cornflower
#6A79F7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#808CFA #FAEE80
analogous
#80C9FA #808CFA #B180FA
triadic
#808CFA #FA808C #8CFA80
tetradic
#808CFA #FA80C9 #FAEE80 #80FAB1
square
#808CFA #FA80C9 #FAEE80 #80FAB1
split-complementary
#808CFA #FAB180 #C9FA80
monochromatic
#0A21F5 #4557F8 #808CFA #BBC1FC #E2E4FE
Accessibility & contrast
On white
2.98
#808CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#808CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #808CFA
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##808CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##808CFA | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#50A3B7
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #808cfa; /* rgb */ color: rgb(128, 140, 250); /* oklch */ color: oklch(68.1% 0.161 276.5);
Tailwind
colors: {
custom: {
50: '#abadfc',
500: '#808cfa',
950: '#000000',
},
}SCSS
$custom: #808cfa; $custom-light: #abadfc; $custom-dark: #000000;
JSON
{
"hex": "#808cfa",
"rgb": {
"r": 128,
"g": 140,
"b": 250
},
"hsl": {
"h": 234.098,
"s": 92.424,
"l": 74.118
},
"oklch": {
"l": 0.68059,
"c": 0.16126,
"h": 276.5
},
"luminance": 0.30247
}Semantic roles & 50–950 ramp
primary
#808CFA
secondary
#F6F3D5
accent
#CF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85