#978FF1#978FF1
#978FF1 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.8% C 0.141 H 285.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #978FF1 |
|---|---|
| RGB | rgb(151, 143, 241) |
| HSL | hsl(245, 78%, 75%) |
| HSV | hsv(245, 41%, 95%) |
| CMYK | cmyk(37.3%, 40.7%, 0%, 5.5%) |
| CIE-LAB | lab(63.81, 25.79, -48.31) |
| CIE-LCH | lch(63.81, 54.76, 298.10°) |
| OKLab | oklab(69.81% 0.0386 -0.1359) |
| OKLCH | oklch(69.81% 0.141 285.9) |
| XYZ | xyz(38.4577, 32.5738, 87.4631) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 1.95
Lavender Blue
#8B88F8
ΔE00 3.18
Periwinkle Blue
#8F99FB
ΔE00 4.40
Periwinkle (survey)
#8E82FE
ΔE00 4.50
Liliac
#C48EFD
ΔE00 9.23
Cornflower
#6A79F7
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FF1 #E9F18F
analogous
#8FB8F1 #978FF1 #C88FF1
triadic
#978FF1 #F1978F #8FF197
tetradic
#978FF1 #F18FB8 #E9F18F #8FF1C8
square
#978FF1 #F18FB8 #E9F18F #8FF1C8
split-complementary
#978FF1 #F1C88F #B8F18F
monochromatic
#3222E3 #6459EA #978FF1 #CAC5F8 #E6E4FC
Accessibility & contrast
On white
2.79
#978FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#978FF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FF1
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FF1 | 1.00 | 2.79 | 7.51 | 7.51 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF5
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#7EA2B4
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #978ff1; /* rgb */ color: rgb(151, 143, 241); /* oklch */ color: oklch(69.8% 0.141 285.9);
Tailwind
colors: {
custom: {
50: '#b9aff6',
500: '#978ff1',
950: '#000000',
},
}SCSS
$custom: #978ff1; $custom-light: #b9aff6; $custom-dark: #000000;
JSON
{
"hex": "#978ff1",
"rgb": {
"r": 151,
"g": 143,
"b": 241
},
"hsl": {
"h": 244.898,
"s": 77.778,
"l": 75.294
},
"oklch": {
"l": 0.69812,
"c": 0.14125,
"h": 285.9
},
"luminance": 0.32575
}Semantic roles & 50–950 ramp
primary
#978FF1
secondary
#F1F3D8
accent
#DA0BC9
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85