#978FC4#978FC4
#978FC4 is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.6% C 0.078 H 291.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #978FC4 |
|---|---|
| RGB | rgb(151, 143, 196) |
| HSL | hsl(249, 31%, 66%) |
| HSV | hsv(249, 27%, 77%) |
| CMYK | cmyk(23%, 27%, 0%, 23.1%) |
| CIE-LAB | lab(61.83, 14.31, -26.36) |
| CIE-LCH | lch(61.83, 29.99, 298.50°) |
| OKLab | oklab(67.64% 0.028 -0.0726) |
| OKLCH | oklch(67.64% 0.078 291.1) |
| XYZ | xyz(32.5464, 30.2093, 56.3301) |
| Luminance | 0.3021 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.50
Pale Purple
#B790D4
ΔE00 7.78
Perrywinkle
#8F8CE7
ΔE00 8.03
Wisteria
#A87DC2
ΔE00 8.52
Heather
#A484AC
ΔE00 8.78
Lavender (survey)
#C79FEF
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FC4 #BCC48F
analogous
#8FA2C4 #978FC4 #B28FC4
triadic
#978FC4 #C4978F #8FC497
tetradic
#978FC4 #C48FA2 #BCC48F #8FC4B2
square
#978FC4 #C48FA2 #BCC48F #8FC4B2
split-complementary
#978FC4 #C4B28F #A2C48F
monochromatic
#554B8E #7267AF #978FC4 #BCB7D9 #E1DFEE
Accessibility & contrast
On white
2.98
#978FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#978FC4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FC4
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FC4 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8296C6
Deuteranopia (green-blind)
#8294C3
Tritanopia (blue-blind)
#8E98A2
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #978fc4; /* rgb */ color: rgb(151, 143, 196); /* oklch */ color: oklch(67.6% 0.078 291.1);
Tailwind
colors: {
custom: {
50: '#b6afd6',
500: '#978fc4',
950: '#000000',
},
}SCSS
$custom: #978fc4; $custom-light: #b6afd6; $custom-dark: #000000;
JSON
{
"hex": "#978fc4",
"rgb": {
"r": 151,
"g": 143,
"b": 196
},
"hsl": {
"h": 249.057,
"s": 30.994,
"l": 66.471
},
"oklch": {
"l": 0.67644,
"c": 0.07782,
"h": 291.1
},
"luminance": 0.3021
}Semantic roles & 50–950 ramp
primary
#978FC4
secondary
#DDE0CF
accent
#AA3C99
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83