#978BDD#978BDD

#978BDD is a light, moderate blue. Relative luminance 0.303; OKLCH L 68.0% C 0.119 H 289.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#978BDD
RGBrgb(151, 139, 221)
HSLhsl(249, 55%, 71%)
HSVhsv(249, 37%, 87%)
CMYKcmyk(31.7%, 37.1%, 0%, 13.3%)
CIE-LABlab(61.88, 22.83, -40.28)
CIE-LCHlch(61.88, 46.30, 299.55°)
OKLaboklab(68.03% 0.04 -0.1125)
OKLCHoklch(68.03% 0.119 289.5)
XYZxyz(35.0429, 30.2642, 72.3879)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BDD #D1DD8B
analogous
#8BA8DD #978BDD #C08BDD
triadic
#978BDD #DD978B #8BDD97
tetradic
#978BDD #DD8BA8 #D1DD8B #8BDDC0
square
#978BDD #DD8BA8 #D1DD8B #8BDDC0
split-complementary
#978BDD #DDC08B #A8DD8B
monochromatic
#4936B8 #6D5CCF #978BDD #C1BAEB #EAE7F8

Accessibility & contrast

On white

2.98
#978BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#978BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BDD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BDD#FFFFFF#000000##000000
##978BDD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397E0
Deuteranopia (green-blind)
#7394DB
Tritanopia (blue-blind)
#869AAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978bdd;
/* rgb */ color: rgb(151, 139, 221);
/* oklch */ color: oklch(68.0% 0.119 289.5);
Tailwind
colors: {
  custom: {
    50: '#b8ade8',
    500: '#978bdd',
    950: '#000000',
  },
}
SCSS
$custom: #978bdd;
$custom-light: #b8ade8;
$custom-dark: #000000;
JSON
{
  "hex": "#978bdd",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 221
  },
  "hsl": {
    "h": 248.78,
    "s": 54.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.11943,
    "h": 289.5
  },
  "luminance": 0.30265
}

Semantic roles & 50–950 ramp

primary
#978BDD
secondary
#EAEDD7
accent
#C223AB
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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