#978FC4#978FC4

#978FC4 is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.6% C 0.078 H 291.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#978FC4
RGBrgb(151, 143, 196)
HSLhsl(249, 31%, 66%)
HSVhsv(249, 27%, 77%)
CMYKcmyk(23%, 27%, 0%, 23.1%)
CIE-LABlab(61.83, 14.31, -26.36)
CIE-LCHlch(61.83, 29.99, 298.50°)
OKLaboklab(67.64% 0.028 -0.0726)
OKLCHoklch(67.64% 0.078 291.1)
XYZxyz(32.5464, 30.2093, 56.3301)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FC4 #BCC48F
analogous
#8FA2C4 #978FC4 #B28FC4
triadic
#978FC4 #C4978F #8FC497
tetradic
#978FC4 #C48FA2 #BCC48F #8FC4B2
square
#978FC4 #C48FA2 #BCC48F #8FC4B2
split-complementary
#978FC4 #C4B28F #A2C48F
monochromatic
#554B8E #7267AF #978FC4 #BCB7D9 #E1DFEE

Accessibility & contrast

On white

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

On black

7.04
#978FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FC4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FC4#FFFFFF#000000##000000
##978FC41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8296C6
Deuteranopia (green-blind)
#8294C3
Tritanopia (blue-blind)
#8E98A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978fc4;
/* rgb */ color: rgb(151, 143, 196);
/* oklch */ color: oklch(67.6% 0.078 291.1);
Tailwind
colors: {
  custom: {
    50: '#b6afd6',
    500: '#978fc4',
    950: '#000000',
  },
}
SCSS
$custom: #978fc4;
$custom-light: #b6afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#978fc4",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 196
  },
  "hsl": {
    "h": 249.057,
    "s": 30.994,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.07782,
    "h": 291.1
  },
  "luminance": 0.3021
}

Semantic roles & 50–950 ramp

primary
#978FC4
secondary
#DDE0CF
accent
#AA3C99
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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