#978FC2#978FC2
#978FC2 is a light, moderate blue. Relative luminance 0.301; OKLCH L 67.6% C 0.075 H 291.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #978FC2 |
|---|---|
| RGB | rgb(151, 143, 194) |
| HSL | hsl(249, 29%, 66%) |
| HSV | hsv(249, 26%, 76%) |
| CMYK | cmyk(22.2%, 26.3%, 0%, 23.9%) |
| CIE-LAB | lab(61.76, 13.83, -25.35) |
| CIE-LCH | lch(61.76, 28.88, 298.62°) |
| OKLab | oklab(67.56% 0.0274 -0.0698) |
| OKLCH | oklch(67.56% 0.075 291.4) |
| XYZ | xyz(32.3203, 30.1189, 55.1392) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.64
Pale Purple
#B790D4
ΔE00 7.88
Heather
#A484AC
ΔE00 8.48
Perrywinkle
#8F8CE7
ΔE00 8.51
Wisteria
#A87DC2
ΔE00 8.57
Dusty Lavender
#AC86A8
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FC2 #BAC28F
analogous
#8FA0C2 #978FC2 #B08FC2
triadic
#978FC2 #C2978F #8FC297
tetradic
#978FC2 #C28FA0 #BAC28F #8FC2B0
square
#978FC2 #C28FA0 #BAC28F #8FC2B0
split-complementary
#978FC2 #C2B08F #A0C28F
monochromatic
#564C8B #7267AC #978FC2 #BCB7D8 #E1DEED
Accessibility & contrast
On white
2.99
#978FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#978FC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FC2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FC2 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#8394C1
Tritanopia (blue-blind)
#8E97A1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #978fc2; /* rgb */ color: rgb(151, 143, 194); /* oklch */ color: oklch(67.6% 0.075 291.4);
Tailwind
colors: {
custom: {
50: '#b6afd4',
500: '#978fc2',
950: '#000000',
},
}SCSS
$custom: #978fc2; $custom-light: #b6afd4; $custom-dark: #000000;
JSON
{
"hex": "#978fc2",
"rgb": {
"r": 151,
"g": 143,
"b": 194
},
"hsl": {
"h": 249.412,
"s": 29.48,
"l": 66.078
},
"oklch": {
"l": 0.67558,
"c": 0.07494,
"h": 291.4
},
"luminance": 0.30119
}Semantic roles & 50–950 ramp
primary
#978FC2
secondary
#DCDFCE
accent
#A83D97
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83