#978DDD#978DDD

#978DDD is a light, moderate blue. Relative luminance 0.308; OKLCH L 68.4% C 0.116 H 288.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#978DDD
RGBrgb(151, 141, 221)
HSLhsl(248, 54%, 71%)
HSVhsv(248, 36%, 87%)
CMYKcmyk(31.7%, 36.2%, 0%, 13.3%)
CIE-LABlab(62.38, 21.68, -39.50)
CIE-LCHlch(62.38, 45.05, 298.76°)
OKLaboklab(68.41% 0.0372 -0.1103)
OKLCHoklch(68.41% 0.116 288.7)
XYZxyz(35.3351, 30.8487, 72.4853)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DDD #D3DD8D
analogous
#8DABDD #978DDD #BF8DDD
triadic
#978DDD #DD978D #8DDD97
tetradic
#978DDD #DD8DAB #D3DD8D #8DDDBF
square
#978DDD #DD8DAB #D3DD8D #8DDDBF
split-complementary
#978DDD #DDBF8D #ABDD8D
monochromatic
#4737B9 #6C5ECF #978DDD #C2BCEB #E9E7F8

Accessibility & contrast

On white

2.93
#978DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#978DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DDD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DDD#FFFFFF#000000##000000
##978DDD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E0
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#869CAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ddd;
/* rgb */ color: rgb(151, 141, 221);
/* oklch */ color: oklch(68.4% 0.116 288.7);
Tailwind
colors: {
  custom: {
    50: '#b7aee8',
    500: '#978ddd',
    950: '#000000',
  },
}
SCSS
$custom: #978ddd;
$custom-light: #b7aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#978ddd",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 247.5,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.11642,
    "h": 288.7
  },
  "luminance": 0.3085
}

Semantic roles & 50–950 ramp

primary
#978DDD
secondary
#EBEED8
accent
#C224AE
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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