#978CD9#978CD9

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

Color values

HEX#978CD9
RGBrgb(151, 140, 217)
HSLhsl(249, 50%, 70%)
HSVhsv(249, 35%, 85%)
CMYKcmyk(30.4%, 35.5%, 0%, 14.9%)
CIE-LABlab(61.95, 21.23, -37.94)
CIE-LCHlch(61.95, 43.48, 299.23°)
OKLaboklab(68.02% 0.0377 -0.1058)
OKLCHoklch(68.02% 0.112 289.6)
XYZxyz(34.6617, 30.3445, 69.6631)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD9 #CED98C
analogous
#8CA8D9 #978CD9 #BD8CD9
triadic
#978CD9 #D9978C #8CD997
tetradic
#978CD9 #D98CA8 #CED98C #8CD9BD
square
#978CD9 #D98CA8 #CED98C #8CD9BD
split-complementary
#978CD9 #D9BD8C #A8D98C
monochromatic
#4B3AB0 #6D5ECA #978CD9 #C1BAE8 #EAE8F7

Accessibility & contrast

On white

2.97
#978CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#978CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CD9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CD9#FFFFFF#000000##000000
##978CD91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DC
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#889AA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978cd9;
/* rgb */ color: rgb(151, 140, 217);
/* oklch */ color: oklch(68.0% 0.112 289.6);
Tailwind
colors: {
  custom: {
    50: '#b7ade5',
    500: '#978cd9',
    950: '#000000',
  },
}
SCSS
$custom: #978cd9;
$custom-light: #b7ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd9",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 248.571,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.68022,
    "c": 0.11232,
    "h": 289.6
  },
  "luminance": 0.30345
}

Semantic roles & 50–950 ramp

primary
#978CD9
secondary
#E8EBD6
accent
#BE28A8
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111015
muted
#807F84

Preview Lab

Preview with #978CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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