#978CD2#978CD2

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

Color values

HEX#978CD2
RGBrgb(151, 140, 210)
HSLhsl(249, 44%, 69%)
HSVhsv(249, 33%, 82%)
CMYKcmyk(28.1%, 33.3%, 0%, 17.6%)
CIE-LABlab(61.64, 19.46, -34.51)
CIE-LCHlch(61.64, 39.62, 299.43°)
OKLaboklab(67.69% 0.036 -0.0959)
OKLCHoklch(67.69% 0.102 290.6)
XYZxyz(33.7705, 29.9880, 64.9693)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CD2 #C7D28C
analogous
#8CA4D2 #978CD2 #BA8CD2
triadic
#978CD2 #D2978C #8CD297
tetradic
#978CD2 #D28CA4 #C7D28C #8CD2BA
square
#978CD2 #D28CA4 #C7D28C #8CD2BA
split-complementary
#978CD2 #D2BA8C #A4D28C
monochromatic
#5040A4 #6F60C1 #978CD2 #BFB8E3 #E7E4F4

Accessibility & contrast

On white

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

On black

7.00
#978CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CD2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CD2#FFFFFF#000000##000000
##978CD21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#7993D0
Tritanopia (blue-blind)
#8A98A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978cd2;
/* rgb */ color: rgb(151, 140, 210);
/* oklch */ color: oklch(67.7% 0.102 290.6);
Tailwind
colors: {
  custom: {
    50: '#b7ade0',
    500: '#978cd2',
    950: '#000000',
  },
}
SCSS
$custom: #978cd2;
$custom-light: #b7ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#978cd2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 249.429,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.10245,
    "h": 290.6
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

primary
#978CD2
secondary
#E4E7D2
accent
#B72FA1
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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