#978FF2#978FF2
#978FF2 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.9% C 0.143 H 285.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #978FF2 |
|---|---|
| RGB | rgb(151, 143, 242) |
| HSL | hsl(245, 79%, 75%) |
| HSV | hsv(245, 41%, 95%) |
| CMYK | cmyk(37.6%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.86, 26.06, -48.78) |
| CIE-LCH | lch(63.86, 55.30, 298.11°) |
| OKLab | oklab(69.86% 0.0388 -0.1373) |
| OKLCH | oklch(69.86% 0.143 285.8) |
| XYZ | xyz(38.6075, 32.6338, 88.2520) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.04
Lavender Blue
#8B88F8
ΔE00 3.09
Periwinkle Blue
#8F99FB
ΔE00 4.33
Periwinkle (survey)
#8E82FE
ΔE00 4.41
Liliac
#C48EFD
ΔE00 9.23
Cornflower
#6A79F7
ΔE00 9.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978FF2 #EAF28F
analogous
#8FB9F2 #978FF2 #C88FF2
triadic
#978FF2 #F2978F #8FF297
tetradic
#978FF2 #F28FB9 #EAF28F #8FF2C8
square
#978FF2 #F28FB9 #EAF28F #8FF2C8
split-complementary
#978FF2 #F2C88F #B9F28F
monochromatic
#3121E5 #6458EC #978FF2 #CAC6F8 #E6E4FC
Accessibility & contrast
On white
2.79
#978FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#978FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #978FF2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978FF2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#7EA2B5
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #978ff2; /* rgb */ color: rgb(151, 143, 242); /* oklch */ color: oklch(69.9% 0.143 285.8);
Tailwind
colors: {
custom: {
50: '#b9aff7',
500: '#978ff2',
950: '#000000',
},
}SCSS
$custom: #978ff2; $custom-light: #b9aff7; $custom-dark: #000000;
JSON
{
"hex": "#978ff2",
"rgb": {
"r": 151,
"g": 143,
"b": 242
},
"hsl": {
"h": 244.848,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.69865,
"c": 0.14263,
"h": 285.8
},
"luminance": 0.32635
}Semantic roles & 50–950 ramp
primary
#978FF2
secondary
#F1F4D7
accent
#DB0ACB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85