#8A8FF1#8A8FF1
#8A8FF1 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.8% C 0.143 H 279.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8FF1 |
|---|---|
| RGB | rgb(138, 143, 241) |
| HSL | hsl(237, 79%, 74%) |
| HSV | hsv(237, 43%, 95%) |
| CMYK | cmyk(42.7%, 40.7%, 0%, 5.5%) |
| CIE-LAB | lab(62.84, 22.52, -49.91) |
| CIE-LCH | lch(62.84, 54.75, 294.28°) |
| OKLab | oklab(68.83% 0.0241 -0.1408) |
| OKLCH | oklch(68.83% 0.143 279.7) |
| XYZ | xyz(36.1762, 31.3974, 87.3562) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.39
Lavender Blue
#8B88F8
ΔE00 2.52
Periwinkle Blue
#8F99FB
ΔE00 3.02
Periwinkle (survey)
#8E82FE
ΔE00 4.69
Soft Blue
#6488EA
ΔE00 7.03
Cornflower
#6A79F7
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8FF1 #F1EC8A
analogous
#8AC3F1 #8A8FF1 #B98AF1
triadic
#8A8FF1 #F18A8F #8FF18A
tetradic
#8A8FF1 #F18AC3 #F1EC8A #8AF1B9
square
#8A8FF1 #F18AC3 #F1EC8A #8AF1B9
split-complementary
#8A8FF1 #F1B98A #C3F18A
monochromatic
#1D26E4 #535BEA #8A8FF1 #C1C3F8 #E4E5FC
Accessibility & contrast
On white
2.88
#8A8FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#8A8FF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A8FF1
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8FF1 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9CF5
Deuteranopia (green-blind)
#6594EF
Tritanopia (blue-blind)
#69A3B4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8a8ff1; /* rgb */ color: rgb(138, 143, 241); /* oklch */ color: oklch(68.8% 0.143 279.7);
Tailwind
colors: {
custom: {
50: '#b0aff6',
500: '#8a8ff1',
950: '#000000',
},
}SCSS
$custom: #8a8ff1; $custom-light: #b0aff6; $custom-dark: #000000;
JSON
{
"hex": "#8a8ff1",
"rgb": {
"r": 138,
"g": 143,
"b": 241
},
"hsl": {
"h": 237.087,
"s": 78.626,
"l": 74.314
},
"oklch": {
"l": 0.68827,
"c": 0.14288,
"h": 279.7
},
"luminance": 0.31399
}Semantic roles & 50–950 ramp
primary
#8A8FF1
secondary
#F4F2D7
accent
#D10BDB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85