#978DDB#978DDB

#978DDB is a light, moderate blue. Relative luminance 0.307; OKLCH L 68.3% C 0.114 H 288.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#978DDB
RGBrgb(151, 141, 219)
HSLhsl(248, 52%, 71%)
HSVhsv(248, 36%, 86%)
CMYKcmyk(31.1%, 35.6%, 0%, 14.1%)
CIE-LABlab(62.29, 21.17, -38.52)
CIE-LCHlch(62.29, 43.95, 298.79°)
OKLaboklab(68.31% 0.0368 -0.1075)
OKLCHoklch(68.31% 0.114 288.9)
XYZxyz(35.0702, 30.7427, 71.0903)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DDB #D1DB8D
analogous
#8DAADB #978DDB #BE8DDB
triadic
#978DDB #DB978D #8DDB97
tetradic
#978DDB #DB8DAA #D1DB8D #8DDBBE
square
#978DDB #DB8DAA #D1DB8D #8DDBBE
split-complementary
#978DDB #DBBE8D #AADB8D
monochromatic
#4939B5 #6D5ECC #978DDB #C1BCEA #EAE8F8

Accessibility & contrast

On white

2.94
#978DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#978DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DDB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DDB#FFFFFF#000000##000000
##978DDB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#879BAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ddb;
/* rgb */ color: rgb(151, 141, 219);
/* oklch */ color: oklch(68.3% 0.114 288.9);
Tailwind
colors: {
  custom: {
    50: '#b7aee6',
    500: '#978ddb',
    950: '#000000',
  },
}
SCSS
$custom: #978ddb;
$custom-light: #b7aee6;
$custom-dark: #000000;
JSON
{
  "hex": "#978ddb",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 219
  },
  "hsl": {
    "h": 247.692,
    "s": 52,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.1136,
    "h": 288.9
  },
  "luminance": 0.30744
}

Semantic roles & 50–950 ramp

primary
#978DDB
secondary
#EAECD7
accent
#BF26AC
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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