#978FCB#978FCB

#978FCB is a light, moderate blue. Relative luminance 0.305; OKLCH L 68.0% C 0.088 H 290.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#978FCB
RGBrgb(151, 143, 203)
HSLhsl(248, 37%, 68%)
HSVhsv(248, 30%, 80%)
CMYKcmyk(25.6%, 29.6%, 0%, 20.4%)
CIE-LABlab(62.11, 16.00, -29.86)
CIE-LCHlch(62.11, 33.88, 298.19°)
OKLaboklab(67.95% 0.03 -0.0826)
OKLCHoklch(67.95% 0.088 290)
XYZxyz(33.3618, 30.5355, 60.6246)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FCB #C3CB8F
analogous
#8FA5CB #978FCB #B58FCB
triadic
#978FCB #CB978F #8FCB97
tetradic
#978FCB #CB8FA5 #C3CB8F #8FCBB5
square
#978FCB #CB8FA5 #C3CB8F #8FCBB5
split-complementary
#978FCB #CBB58F #A5CB8F
monochromatic
#524799 #7065B8 #978FCB #BEB9DE #E5E3F2

Accessibility & contrast

On white

2.95
#978FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#978FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FCB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FCB#FFFFFF#000000##000000
##978FCB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CD
Deuteranopia (green-blind)
#7F95C9
Tritanopia (blue-blind)
#8C99A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978fcb;
/* rgb */ color: rgb(151, 143, 203);
/* oklch */ color: oklch(68.0% 0.088 290.0);
Tailwind
colors: {
  custom: {
    50: '#b6afdb',
    500: '#978fcb',
    950: '#000000',
  },
}
SCSS
$custom: #978fcb;
$custom-light: #b6afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#978fcb",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 203
  },
  "hsl": {
    "h": 248,
    "s": 36.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.08786,
    "h": 290
  },
  "luminance": 0.30536
}

Semantic roles & 50–950 ramp

primary
#978FCB
secondary
#E2E4D2
accent
#AF369F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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