#978CDC#978CDC

#978CDC is a light, moderate blue. Relative luminance 0.305; OKLCH L 68.2% C 0.117 H 289.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#978CDC
RGBrgb(151, 140, 220)
HSLhsl(248, 53%, 71%)
HSVhsv(248, 36%, 86%)
CMYKcmyk(31.4%, 36.4%, 0%, 13.7%)
CIE-LABlab(62.09, 22.00, -39.40)
CIE-LCHlch(62.09, 45.13, 299.18°)
OKLaboklab(68.17% 0.0384 -0.11)
OKLCHoklch(68.17% 0.117 289.2)
XYZxyz(35.0555, 30.5020, 71.7368)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CDC #D1DC8C
analogous
#8CA9DC #978CDC #BF8CDC
triadic
#978CDC #DC978C #8CDC97
tetradic
#978CDC #DC8CA9 #D1DC8C #8CDCBF
square
#978CDC #DC8CA9 #D1DC8C #8CDCBF
split-complementary
#978CDC #DCBF8C #A9DC8C
monochromatic
#4937B6 #6D5DCE #978CDC #C1BBEA #EAE8F8

Accessibility & contrast

On white

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

On black

7.10
#978CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CDC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CDC#FFFFFF#000000##000000
##978CDC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#879BAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978cdc;
/* rgb */ color: rgb(151, 140, 220);
/* oklch */ color: oklch(68.2% 0.117 289.2);
Tailwind
colors: {
  custom: {
    50: '#b7ade7',
    500: '#978cdc',
    950: '#000000',
  },
}
SCSS
$custom: #978cdc;
$custom-light: #b7ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#978cdc",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 248.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.11652,
    "h": 289.2
  },
  "luminance": 0.30503
}

Semantic roles & 50–950 ramp

primary
#978CDC
secondary
#EAEDD7
accent
#C125AB
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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