#978CD7#978CD7
#978CD7 is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.9% C 0.110 H 289.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #978CD7 |
|---|---|
| RGB | rgb(151, 140, 215) |
| HSL | hsl(249, 48%, 70%) |
| HSV | hsv(249, 35%, 84%) |
| CMYK | cmyk(29.8%, 34.9%, 0%, 15.7%) |
| CIE-LAB | lab(61.86, 20.72, -36.96) |
| CIE-LCH | lch(61.86, 42.37, 299.28°) |
| OKLab | oklab(67.93% 0.0372 -0.103) |
| OKLCH | oklch(67.93% 0.11 289.9) |
| XYZ | xyz(34.4032, 30.2411, 68.3013) |
| Luminance | 0.3024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.92
Lavender Blue
#8B88F8
ΔE00 6.75
Lavender
#B39DDB
ΔE00 7.33
Periwinkle (survey)
#8E82FE
ΔE00 7.70
Periwinkle Blue
#8F99FB
ΔE00 7.89
Pale Purple
#B790D4
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978CD7 #CCD78C
analogous
#8CA7D7 #978CD7 #BD8CD7
triadic
#978CD7 #D7978C #8CD797
tetradic
#978CD7 #D78CA7 #CCD78C #8CD7BD
square
#978CD7 #D78CA7 #CCD78C #8CD7BD
split-complementary
#978CD7 #D7BD8C #A7D78C
monochromatic
#4D3CAD #6E5FC7 #978CD7 #C0B9E7 #E9E7F7
Accessibility & contrast
On white
2.98
#978CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#978CD7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978CD7
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978CD7 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7797DA
Deuteranopia (green-blind)
#7794D5
Tritanopia (blue-blind)
#8899A8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #978cd7; /* rgb */ color: rgb(151, 140, 215); /* oklch */ color: oklch(67.9% 0.110 289.9);
Tailwind
colors: {
custom: {
50: '#b7ade3',
500: '#978cd7',
950: '#000000',
},
}SCSS
$custom: #978cd7; $custom-light: #b7ade3; $custom-dark: #000000;
JSON
{
"hex": "#978cd7",
"rgb": {
"r": 151,
"g": 140,
"b": 215
},
"hsl": {
"h": 248.8,
"s": 48.387,
"l": 69.608
},
"oklch": {
"l": 0.67925,
"c": 0.10951,
"h": 289.9
},
"luminance": 0.30242
}Semantic roles & 50–950 ramp
primary
#978CD7
secondary
#E7EAD5
accent
#BC2AA6
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83