#978FF0#978FF0
#978FF0 is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.8% C 0.140 H 285.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #978FF0 |
|---|---|
| RGB | rgb(151, 143, 240) |
| HSL | hsl(245, 76%, 75%) |
| HSV | hsv(245, 40%, 94%) |
| CMYK | cmyk(37.1%, 40.4%, 0%, 5.9%) |
| CIE-LAB | lab(63.77, 25.52, -47.83) |
| CIE-LCH | lch(63.77, 54.21, 298.08°) |
| OKLab | oklab(69.76% 0.0384 -0.1345) |
| OKLCH | oklch(69.76% 0.14 285.9) |
| XYZ | xyz(38.3088, 32.5143, 86.6786) |
| Luminance | 0.3252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 1.87
Lavender Blue
#8B88F8
ΔE00 3.27
Periwinkle Blue
#8F99FB
ΔE00 4.46
Periwinkle (survey)
#8E82FE
ΔE00 4.60
Liliac
#C48EFD
ΔE00 9.23
Cornflower
#6A79F7
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FF0 #E8F08F
analogous
#8FB8F0 #978FF0 #C78FF0
triadic
#978FF0 #F0978F #8FF097
tetradic
#978FF0 #F08FB8 #E8F08F #8FF0C7
square
#978FF0 #F08FB8 #E8F08F #8FF0C7
split-complementary
#978FF0 #F0C78F #B8F08F
monochromatic
#3323E2 #6559E9 #978FF0 #C9C5F7 #E6E4FB
Accessibility & contrast
On white
2.80
#978FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#978FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FF0
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FF0 | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9DF4
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#7FA2B4
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #978ff0; /* rgb */ color: rgb(151, 143, 240); /* oklch */ color: oklch(69.8% 0.140 285.9);
Tailwind
colors: {
custom: {
50: '#b9aff5',
500: '#978ff0',
950: '#000000',
},
}SCSS
$custom: #978ff0; $custom-light: #b9aff5; $custom-dark: #000000;
JSON
{
"hex": "#978ff0",
"rgb": {
"r": 151,
"g": 143,
"b": 240
},
"hsl": {
"h": 244.948,
"s": 76.378,
"l": 75.098
},
"oklch": {
"l": 0.69759,
"c": 0.13988,
"h": 285.9
},
"luminance": 0.32516
}Semantic roles & 50–950 ramp
primary
#978FF0
secondary
#F1F3D8
accent
#D90DC8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85