#8A8DFC#8A8DFC
#8A8DFC is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.161 H 280.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8DFC |
|---|---|
| RGB | rgb(138, 141, 252) |
| HSL | hsl(238, 95%, 76%) |
| HSV | hsv(238, 45%, 99%) |
| CMYK | cmyk(45.2%, 44%, 0%, 1.2%) |
| CIE-LAB | lab(62.91, 26.82, -55.84) |
| CIE-LCH | lch(62.91, 61.95, 295.66°) |
| OKLab | oklab(69.06% 0.0283 -0.1582) |
| OKLCH | oklch(69.06% 0.161 280.1) |
| XYZ | xyz(37.5715, 31.4794, 96.1730) |
| Luminance | 0.3148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 1.69
Periwinkle Blue
#8F99FB
ΔE00 3.47
Perrywinkle
#8F8CE7
ΔE00 3.48
Periwinkle (survey)
#8E82FE
ΔE00 3.63
Cornflower
#6A79F7
ΔE00 7.10
Soft Blue
#6488EA
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8DFC #FCF98A
analogous
#8AC6FC #8A8DFC #C08AFC
triadic
#8A8DFC #FC8A8D #8DFC8A
tetradic
#8A8DFC #FC8AC6 #FCF98A #8AFCC0
square
#8A8DFC #FC8AC6 #FCF98A #8AFCC0
split-complementary
#8A8DFC #FCC08A #C6FC8A
monochromatic
#1319F9 #4E53FA #8A8DFC #C6C7FE #E1E2FE
Accessibility & contrast
On white
2.88
#8A8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#8A8DFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A8DFC
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8DFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8DFC | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#63A4B8
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8a8dfc; /* rgb */ color: rgb(138, 141, 252); /* oklch */ color: oklch(69.1% 0.161 280.1);
Tailwind
colors: {
custom: {
50: '#b2aefe',
500: '#8a8dfc',
950: '#000000',
},
}SCSS
$custom: #8a8dfc; $custom-light: #b2aefe; $custom-dark: #000000;
JSON
{
"hex": "#8a8dfc",
"rgb": {
"r": 138,
"g": 141,
"b": 252
},
"hsl": {
"h": 238.421,
"s": 95,
"l": 76.471
},
"oklch": {
"l": 0.69064,
"c": 0.16071,
"h": 280.1
},
"luminance": 0.31481
}Semantic roles & 50–950 ramp
primary
#8A8DFC
secondary
#F6F6D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86