#978BDB#978BDB

#978BDB is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.9% C 0.117 H 289.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#978BDB
RGBrgb(151, 139, 219)
HSLhsl(249, 53%, 70%)
HSVhsv(249, 37%, 86%)
CMYKcmyk(31.1%, 36.5%, 0%, 14.1%)
CIE-LABlab(61.79, 22.32, -39.30)
CIE-LCHlch(61.79, 45.20, 299.59°)
OKLaboklab(67.93% 0.0395 -0.1097)
OKLCHoklch(67.93% 0.117 289.8)
XYZxyz(34.7780, 30.1583, 70.9929)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BDB #CFDB8B
analogous
#8BA7DB #978BDB #BF8BDB
triadic
#978BDB #DB978B #8BDB97
tetradic
#978BDB #DB8BA7 #CFDB8B #8BDBBF
square
#978BDB #DB8BA7 #CFDB8B #8BDBBF
split-complementary
#978BDB #DBBF8B #A7DB8B
monochromatic
#4A38B4 #6D5CCD #978BDB #C1BAE9 #EAE8F8

Accessibility & contrast

On white

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

On black

7.03
#978BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BDB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BDB#FFFFFF#000000##000000
##978BDB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#7493D9
Tritanopia (blue-blind)
#8799A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978bdb;
/* rgb */ color: rgb(151, 139, 219);
/* oklch */ color: oklch(67.9% 0.117 289.8);
Tailwind
colors: {
  custom: {
    50: '#b7ade6',
    500: '#978bdb',
    950: '#000000',
  },
}
SCSS
$custom: #978bdb;
$custom-light: #b7ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#978bdb",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 219
  },
  "hsl": {
    "h": 249,
    "s": 52.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6793,
    "c": 0.11664,
    "h": 289.8
  },
  "luminance": 0.30159
}

Semantic roles & 50–950 ramp

primary
#978BDB
secondary
#E9ECD6
accent
#C025A9
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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