#7F8CD4#7F8CD4
#7F8CD4 is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.9% C 0.108 H 275.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F8CD4 |
|---|---|
| RGB | rgb(127, 140, 212) |
| HSL | hsl(231, 50%, 66%) |
| HSV | hsv(231, 40%, 83%) |
| CMYK | cmyk(40.1%, 34%, 0%, 16.9%) |
| CIE-LAB | lab(59.91, 13.29, -38.47) |
| CIE-LCH | lch(59.91, 40.70, 289.05°) |
| OKLab | oklab(65.92% 0.0099 -0.1078) |
| OKLCH | oklch(65.92% 0.108 275.2) |
| XYZ | xyz(30.0106, 28.0203, 66.1018) |
| Luminance | 0.2802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.26
Lavender Blue
#8B88F8
ΔE00 5.91
Soft Blue
#6488EA
ΔE00 6.11
Periwinkle Blue
#8F99FB
ΔE00 6.27
Faded Blue
#658CBB
ΔE00 7.12
Periwinkle (survey)
#8E82FE
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F8CD4 #D4C77F
analogous
#7FB7D4 #7F8CD4 #9D7FD4
triadic
#7F8CD4 #D47F8C #8CD47F
tetradic
#7F8CD4 #D47FB7 #D4C77F #7FD49D
square
#7F8CD4 #D47FB7 #D4C77F #7FD49D
split-complementary
#7F8CD4 #D49D7F #B7D47F
monochromatic
#3647A2 #5163C5 #7F8CD4 #ADB5E3 #DBDEF3
Accessibility & contrast
On white
3.18
#7F8CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#7F8CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F8CD4
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F8CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F8CD4 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#649AA6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7f8cd4; /* rgb */ color: rgb(127, 140, 212); /* oklch */ color: oklch(65.9% 0.108 275.2);
Tailwind
colors: {
custom: {
50: '#a7ade1',
500: '#7f8cd4',
950: '#000000',
},
}SCSS
$custom: #7f8cd4; $custom-light: #a7ade1; $custom-dark: #000000;
JSON
{
"hex": "#7f8cd4",
"rgb": {
"r": 127,
"g": 140,
"b": 212
},
"hsl": {
"h": 230.824,
"s": 49.708,
"l": 66.471
},
"oklch": {
"l": 0.65924,
"c": 0.10825,
"h": 275.2
},
"luminance": 0.28022
}Semantic roles & 50–950 ramp
primary
#7F8CD4
secondary
#E5E1CA
accent
#A628BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83