#978DCC#978DCC
#978DCC is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.6% C 0.092 H 291.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #978DCC |
|---|---|
| RGB | rgb(151, 141, 204) |
| HSL | hsl(250, 38%, 68%) |
| HSV | hsv(250, 31%, 80%) |
| CMYK | cmyk(26%, 30.9%, 0%, 20%) |
| CIE-LAB | lab(61.64, 17.40, -31.14) |
| CIE-LCH | lch(61.64, 35.68, 299.19°) |
| OKLab | oklab(67.6% 0.0331 -0.0863) |
| OKLCH | oklch(67.6% 0.092 291) |
| XYZ | xyz(33.1838, 29.9882, 61.1550) |
| Luminance | 0.2999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.10
Lavender
#B39DDB
ΔE00 6.56
Pale Purple
#B790D4
ΔE00 7.48
Wisteria
#A87DC2
ΔE00 8.04
Lavender Blue
#8B88F8
ΔE00 9.01
Periwinkle Blue
#8F99FB
ΔE00 9.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978DCC #C2CC8D
analogous
#8DA2CC #978DCC #B78DCC
triadic
#978DCC #CC978D #8DCC97
tetradic
#978DCC #CC8DA2 #C2CC8D #8DCCB7
square
#978DCC #CC8DA2 #C2CC8D #8DCCB7
split-complementary
#978DCC #CCB78D #A2CC8D
monochromatic
#52459A #7063B9 #978DCC #BEB7DF #E4E2F2
Accessibility & contrast
On white
3.00
#978DCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#978DCC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978DCC
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978DCC | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D96CF
Deuteranopia (green-blind)
#7D94CA
Tritanopia (blue-blind)
#8B98A4
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #978dcc; /* rgb */ color: rgb(151, 141, 204); /* oklch */ color: oklch(67.6% 0.092 291.0);
Tailwind
colors: {
custom: {
50: '#b7aedb',
500: '#978dcc',
950: '#000000',
},
}SCSS
$custom: #978dcc; $custom-light: #b7aedb; $custom-dark: #000000;
JSON
{
"hex": "#978dcc",
"rgb": {
"r": 151,
"g": 141,
"b": 204
},
"hsl": {
"h": 249.524,
"s": 38.182,
"l": 67.647
},
"oklch": {
"l": 0.67604,
"c": 0.09239,
"h": 291
},
"luminance": 0.29989
}Semantic roles & 50–950 ramp
primary
#978DCC
secondary
#E1E4D1
accent
#B1349D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83