#978CD3#978CD3

#978CD3 is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.7% C 0.104 H 290.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#978CD3
RGBrgb(151, 140, 211)
HSLhsl(249, 45%, 69%)
HSVhsv(249, 34%, 83%)
CMYKcmyk(28.4%, 33.6%, 0%, 17.3%)
CIE-LABlab(61.69, 19.71, -35.00)
CIE-LCHlch(61.69, 40.17, 299.39°)
OKLaboklab(67.73% 0.0363 -0.0973)
OKLCHoklch(67.73% 0.104 290.5)
XYZxyz(33.8955, 30.0380, 65.6275)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD3 #C8D38C
analogous
#8CA5D3 #978CD3 #BB8CD3
triadic
#978CD3 #D3978C #8CD397
tetradic
#978CD3 #D38CA5 #C8D38C #8CD3BB
square
#978CD3 #D38CA5 #C8D38C #8CD3BB
split-complementary
#978CD3 #D3BB8C #A5D38C
monochromatic
#4F3FA5 #6F60C2 #978CD3 #BFB8E4 #E7E5F5

Accessibility & contrast

On white

3.00
#978CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#978CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CD3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CD3#FFFFFF#000000##000000
##978CD31.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D6
Deuteranopia (green-blind)
#7993D1
Tritanopia (blue-blind)
#8998A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978cd3;
/* rgb */ color: rgb(151, 140, 211);
/* oklch */ color: oklch(67.7% 0.104 290.5);
Tailwind
colors: {
  custom: {
    50: '#b7ade0',
    500: '#978cd3',
    950: '#000000',
  },
}
SCSS
$custom: #978cd3;
$custom-light: #b7ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd3",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 249.296,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.10387,
    "h": 290.5
  },
  "luminance": 0.30039
}

Semantic roles & 50–950 ramp

primary
#978CD3
secondary
#E5E8D3
accent
#B82EA2
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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