#978CDB#978CDB

#978CDB is a light, moderate blue. Relative luminance 0.304; OKLCH L 68.1% C 0.115 H 289.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#978CDB
RGBrgb(151, 140, 219)
HSLhsl(248, 52%, 70%)
HSVhsv(248, 36%, 86%)
CMYKcmyk(31.1%, 36.1%, 0%, 14.1%)
CIE-LABlab(62.04, 21.74, -38.91)
CIE-LCHlch(62.04, 44.58, 299.19°)
OKLaboklab(68.12% 0.0382 -0.1086)
OKLCHoklch(68.12% 0.115 289.4)
XYZxyz(34.9235, 30.4492, 71.0414)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CDB #D0DB8C
analogous
#8CA9DB #978CDB #BE8CDB
triadic
#978CDB #DB978C #8CDB97
tetradic
#978CDB #DB8CA9 #D0DB8C #8CDBBE
square
#978CDB #DB8CA9 #D0DB8C #8CDBBE
split-complementary
#978CDB #DBBE8C #A9DB8C
monochromatic
#4A38B4 #6D5DCC #978CDB #C1BBEA #EAE8F8

Accessibility & contrast

On white

2.96
#978CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#978CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CDB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CDB#FFFFFF#000000##000000
##978CDB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#879AA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978cdb;
/* rgb */ color: rgb(151, 140, 219);
/* oklch */ color: oklch(68.1% 0.115 289.4);
Tailwind
colors: {
  custom: {
    50: '#b7ade6',
    500: '#978cdb',
    950: '#000000',
  },
}
SCSS
$custom: #978cdb;
$custom-light: #b7ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#978cdb",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 248.354,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6812,
    "c": 0.11512,
    "h": 289.4
  },
  "luminance": 0.3045
}

Semantic roles & 50–950 ramp

primary
#978CDB
secondary
#E9ECD7
accent
#C026AA
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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