#978CD4#978CD4

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

Color values

HEX#978CD4
RGBrgb(151, 140, 212)
HSLhsl(249, 46%, 69%)
HSVhsv(249, 34%, 83%)
CMYKcmyk(28.8%, 34%, 0%, 16.9%)
CIE-LABlab(61.73, 19.97, -35.49)
CIE-LCHlch(61.73, 40.72, 299.36°)
OKLaboklab(67.78% 0.0365 -0.0987)
OKLCHoklch(67.78% 0.105 290.3)
XYZxyz(34.0213, 30.0883, 66.2898)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD4 #C9D48C
analogous
#8CA5D4 #978CD4 #BB8CD4
triadic
#978CD4 #D4978C #8CD497
tetradic
#978CD4 #D48CA5 #C9D48C #8CD4BB
square
#978CD4 #D48CA5 #C9D48C #8CD4BB
split-complementary
#978CD4 #D4BB8C #A5D48C
monochromatic
#4E3EA7 #6F5FC3 #978CD4 #BFB9E5 #E8E5F5

Accessibility & contrast

On white

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

On black

7.02
#978CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CD4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CD4#FFFFFF#000000##000000
##978CD41.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D7
Deuteranopia (green-blind)
#7894D2
Tritanopia (blue-blind)
#8999A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978cd4;
/* rgb */ color: rgb(151, 140, 212);
/* oklch */ color: oklch(67.8% 0.105 290.3);
Tailwind
colors: {
  custom: {
    50: '#b7ade1',
    500: '#978cd4',
    950: '#000000',
  },
}
SCSS
$custom: #978cd4;
$custom-light: #b7ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd4",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 249.167,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67782,
    "c": 0.10528,
    "h": 290.3
  },
  "luminance": 0.30089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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