#978FC2#978FC2

#978FC2 is a light, moderate blue. Relative luminance 0.301; OKLCH L 67.6% C 0.075 H 291.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#978FC2
RGBrgb(151, 143, 194)
HSLhsl(249, 29%, 66%)
HSVhsv(249, 26%, 76%)
CMYKcmyk(22.2%, 26.3%, 0%, 23.9%)
CIE-LABlab(61.76, 13.83, -25.35)
CIE-LCHlch(61.76, 28.88, 298.62°)
OKLaboklab(67.56% 0.0274 -0.0698)
OKLCHoklch(67.56% 0.075 291.4)
XYZxyz(32.3203, 30.1189, 55.1392)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FC2 #BAC28F
analogous
#8FA0C2 #978FC2 #B08FC2
triadic
#978FC2 #C2978F #8FC297
tetradic
#978FC2 #C28FA0 #BAC28F #8FC2B0
square
#978FC2 #C28FA0 #BAC28F #8FC2B0
split-complementary
#978FC2 #C2B08F #A0C28F
monochromatic
#564C8B #7267AC #978FC2 #BCB7D8 #E1DEED

Accessibility & contrast

On white

2.99
#978FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#978FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FC2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FC2#FFFFFF#000000##000000
##978FC21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#8394C1
Tritanopia (blue-blind)
#8E97A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978fc2;
/* rgb */ color: rgb(151, 143, 194);
/* oklch */ color: oklch(67.6% 0.075 291.4);
Tailwind
colors: {
  custom: {
    50: '#b6afd4',
    500: '#978fc2',
    950: '#000000',
  },
}
SCSS
$custom: #978fc2;
$custom-light: #b6afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#978fc2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 249.412,
    "s": 29.48,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.07494,
    "h": 291.4
  },
  "luminance": 0.30119
}

Semantic roles & 50–950 ramp

primary
#978FC2
secondary
#DCDFCE
accent
#A83D97
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978FC2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#978FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva