#978DF0#978DF0
#978DF0 is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.143 H 286.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #978DF0 |
|---|---|
| RGB | rgb(151, 141, 240) |
| HSL | hsl(246, 77%, 75%) |
| HSV | hsv(246, 41%, 94%) |
| CMYK | cmyk(37.1%, 41.3%, 0%, 5.9%) |
| CIE-LAB | lab(63.28, 26.67, -48.61) |
| CIE-LCH | lch(63.28, 55.44, 298.76°) |
| OKLab | oklab(69.39% 0.041 -0.1368) |
| OKLCH | oklch(69.39% 0.143 286.7) |
| XYZ | xyz(38.0112, 31.9191, 86.5794) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 1.91
Lavender Blue
#8B88F8
ΔE00 3.05
Periwinkle (survey)
#8E82FE
ΔE00 4.15
Periwinkle Blue
#8F99FB
ΔE00 4.96
Mediumpurple
#9370DB
ΔE00 8.98
Liliac
#C48EFD
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978DF0 #E6F08D
analogous
#8DB4F0 #978DF0 #C98DF0
triadic
#978DF0 #F0978D #8DF097
tetradic
#978DF0 #F08DB4 #E6F08D #8DF0C9
square
#978DF0 #F08DB4 #E6F08D #8DF0C9
split-complementary
#978DF0 #F0C98D #B4F08D
monochromatic
#3421E2 #6657E9 #978DF0 #C8C3F7 #E6E4FB
Accessibility & contrast
On white
2.84
#978DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#978DF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978DF0
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978DF0 | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#6A96EE
Tritanopia (blue-blind)
#7FA0B3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #978df0; /* rgb */ color: rgb(151, 141, 240); /* oklch */ color: oklch(69.4% 0.143 286.7);
Tailwind
colors: {
custom: {
50: '#b9aef5',
500: '#978df0',
950: '#000000',
},
}SCSS
$custom: #978df0; $custom-light: #b9aef5; $custom-dark: #000000;
JSON
{
"hex": "#978df0",
"rgb": {
"r": 151,
"g": 141,
"b": 240
},
"hsl": {
"h": 246.061,
"s": 76.744,
"l": 74.706
},
"oklch": {
"l": 0.69387,
"c": 0.14276,
"h": 286.7
},
"luminance": 0.3192
}Semantic roles & 50–950 ramp
primary
#978DF0
secondary
#F0F3D8
accent
#D90DC4
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85