#978CD5#978CD5

#978CD5 is a light, moderate blue. Relative luminance 0.301; OKLCH L 67.8% C 0.107 H 290.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#978CD5
RGBrgb(151, 140, 213)
HSLhsl(249, 46%, 69%)
HSVhsv(249, 34%, 84%)
CMYKcmyk(29.1%, 34.3%, 0%, 16.5%)
CIE-LABlab(61.77, 20.22, -35.98)
CIE-LCHlch(61.77, 41.27, 299.33°)
OKLaboklab(67.83% 0.0368 -0.1001)
OKLCHoklch(67.83% 0.107 290.2)
XYZxyz(34.1478, 30.1389, 66.9562)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD5 #CAD58C
analogous
#8CA6D5 #978CD5 #BC8CD5
triadic
#978CD5 #D5978C #8CD597
tetradic
#978CD5 #D58CA6 #CAD58C #8CD5BC
square
#978CD5 #D58CA6 #CAD58C #8CD5BC
split-complementary
#978CD5 #D5BC8C #A6D58C
monochromatic
#4E3EA9 #6E5FC5 #978CD5 #C0B9E5 #E8E6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978CD5#FFFFFF#000000##000000
##978CD51.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)
#7897D8
Deuteranopia (green-blind)
#7894D3
Tritanopia (blue-blind)
#8999A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978cd5;
/* rgb */ color: rgb(151, 140, 213);
/* oklch */ color: oklch(67.8% 0.107 290.2);
Tailwind
colors: {
  custom: {
    50: '#b7ade2',
    500: '#978cd5',
    950: '#000000',
  },
}
SCSS
$custom: #978cd5;
$custom-light: #b7ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd5",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 249.041,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67829,
    "c": 0.10669,
    "h": 290.2
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#978CD5
secondary
#E6E9D4
accent
#BA2CA4
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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