#978FDA#978FDA
#978FDA is a light, moderate blue. Relative luminance 0.313; OKLCH L 68.6% C 0.109 H 288.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #978FDA |
|---|---|
| RGB | rgb(151, 143, 218) |
| HSL | hsl(246, 50%, 71%) |
| HSV | hsv(246, 34%, 85%) |
| CMYK | cmyk(30.7%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(62.75, 19.76, -37.25) |
| CIE-LCH | lch(62.75, 42.17, 297.94°) |
| OKLab | oklab(68.65% 0.0338 -0.1038) |
| OKLCH | oklch(68.65% 0.109 288.1) |
| XYZ | xyz(35.2366, 31.2854, 70.4983) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.48
Lavender Blue
#8B88F8
ΔE00 6.43
Periwinkle Blue
#8F99FB
ΔE00 6.98
Lavender
#B39DDB
ΔE00 7.22
Periwinkle (survey)
#8E82FE
ΔE00 7.62
Pale Purple
#B790D4
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FDA #D2DA8F
analogous
#8FACDA #978FDA #BC8FDA
triadic
#978FDA #DA978F #8FDA97
tetradic
#978FDA #DA8FAC #D2DA8F #8FDABC
square
#978FDA #DA8FAC #D2DA8F #8FDABC
split-complementary
#978FDA #DABC8F #ACDA8F
monochromatic
#483BB3 #6C61CB #978FDA #C2BDE9 #EAE8F7
Accessibility & contrast
On white
2.89
#978FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#978FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FDA
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FDA | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799ADD
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#879DAA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #978fda; /* rgb */ color: rgb(151, 143, 218); /* oklch */ color: oklch(68.6% 0.109 288.1);
Tailwind
colors: {
custom: {
50: '#b7afe5',
500: '#978fda',
950: '#000000',
},
}SCSS
$custom: #978fda; $custom-light: #b7afe5; $custom-dark: #000000;
JSON
{
"hex": "#978fda",
"rgb": {
"r": 151,
"g": 143,
"b": 218
},
"hsl": {
"h": 246.4,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.68648,
"c": 0.10919,
"h": 288.1
},
"luminance": 0.31286
}Semantic roles & 50–950 ramp
primary
#978FDA
secondary
#EAECD8
accent
#BE28AE
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84