#8A8CD4#8A8CD4
#8A8CD4 is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.7% C 0.106 H 281.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8CD4 |
|---|---|
| RGB | rgb(138, 140, 212) |
| HSL | hsl(238, 46%, 69%) |
| HSV | hsv(238, 35%, 83%) |
| CMYK | cmyk(34.9%, 34%, 0%, 16.9%) |
| CIE-LAB | lab(60.70, 16.27, -37.17) |
| CIE-LCH | lch(60.70, 40.57, 293.64°) |
| OKLab | oklab(66.74% 0.0219 -0.1038) |
| OKLCH | oklch(66.74% 0.106 281.9) |
| XYZ | xyz(31.7397, 28.9119, 66.1828) |
| Luminance | 0.2891 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.13
Lavender Blue
#8B88F8
ΔE00 5.88
Periwinkle Blue
#8F99FB
ΔE00 6.66
Periwinkle (survey)
#8E82FE
ΔE00 7.40
Soft Blue
#6488EA
ΔE00 8.78
Cornflower
#6A79F7
ΔE00 9.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8CD4 #D4D28A
analogous
#8AB1D4 #8A8CD4 #AD8AD4
triadic
#8A8CD4 #D48A8C #8CD48A
tetradic
#8A8CD4 #D48AB1 #D4D28A #8AD4AD
square
#8A8CD4 #D48AB1 #D4D28A #8AD4AD
split-complementary
#8A8CD4 #D4AD8A #B1D48A
monochromatic
#3D40A6 #5D60C4 #8A8CD4 #B7B8E4 #E4E4F5
Accessibility & contrast
On white
3.10
#8A8CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#8A8CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8CD4
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8CD4 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#7290D2
Tritanopia (blue-blind)
#769AA6
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #8a8cd4; /* rgb */ color: rgb(138, 140, 212); /* oklch */ color: oklch(66.7% 0.106 281.9);
Tailwind
colors: {
custom: {
50: '#aeade1',
500: '#8a8cd4',
950: '#000000',
},
}SCSS
$custom: #8a8cd4; $custom-light: #aeade1; $custom-dark: #000000;
JSON
{
"hex": "#8a8cd4",
"rgb": {
"r": 138,
"g": 140,
"b": 212
},
"hsl": {
"h": 238.378,
"s": 46.25,
"l": 68.627
},
"oklch": {
"l": 0.66739,
"c": 0.1061,
"h": 281.9
},
"luminance": 0.28913
}Semantic roles & 50–950 ramp
primary
#8A8CD4
secondary
#E8E7D2
accent
#B62CB9
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83