#978CD7#978CD7

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

Color values

HEX#978CD7
RGBrgb(151, 140, 215)
HSLhsl(249, 48%, 70%)
HSVhsv(249, 35%, 84%)
CMYKcmyk(29.8%, 34.9%, 0%, 15.7%)
CIE-LABlab(61.86, 20.72, -36.96)
CIE-LCHlch(61.86, 42.37, 299.28°)
OKLaboklab(67.93% 0.0372 -0.103)
OKLCHoklch(67.93% 0.11 289.9)
XYZxyz(34.4032, 30.2411, 68.3013)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD7 #CCD78C
analogous
#8CA7D7 #978CD7 #BD8CD7
triadic
#978CD7 #D7978C #8CD797
tetradic
#978CD7 #D78CA7 #CCD78C #8CD7BD
square
#978CD7 #D78CA7 #CCD78C #8CD7BD
split-complementary
#978CD7 #D7BD8C #A7D78C
monochromatic
#4D3CAD #6E5FC7 #978CD7 #C0B9E7 #E9E7F7

Accessibility & contrast

On white

2.98
#978CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#978CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CD7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CD7#FFFFFF#000000##000000
##978CD71.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7797DA
Deuteranopia (green-blind)
#7794D5
Tritanopia (blue-blind)
#8899A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978cd7;
/* rgb */ color: rgb(151, 140, 215);
/* oklch */ color: oklch(67.9% 0.110 289.9);
Tailwind
colors: {
  custom: {
    50: '#b7ade3',
    500: '#978cd7',
    950: '#000000',
  },
}
SCSS
$custom: #978cd7;
$custom-light: #b7ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd7",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 248.8,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.10951,
    "h": 289.9
  },
  "luminance": 0.30242
}

Semantic roles & 50–950 ramp

primary
#978CD7
secondary
#E7EAD5
accent
#BC2AA6
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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