#978DD4#978DD4

#978DD4 is a light, moderate blue. Relative luminance 0.304; OKLCH L 68.0% C 0.104 H 289.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#978DD4
RGBrgb(151, 141, 212)
HSLhsl(248, 45%, 69%)
HSVhsv(248, 33%, 83%)
CMYKcmyk(28.8%, 33.5%, 0%, 16.9%)
CIE-LABlab(61.98, 19.39, -35.10)
CIE-LCHlch(61.98, 40.10, 298.92°)
OKLaboklab(67.97% 0.0351 -0.0976)
OKLCHoklch(67.97% 0.104 289.8)
XYZxyz(34.1680, 30.3819, 66.3387)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DD4 #CAD48D
analogous
#8DA7D4 #978DD4 #BB8DD4
triadic
#978DD4 #D4978D #8DD497
tetradic
#978DD4 #D48DA7 #CAD48D #8DD4BB
square
#978DD4 #D48DA7 #CAD48D #8DD4BB
split-complementary
#978DD4 #D4BB8D #A7D48D
monochromatic
#4E3FA7 #6E61C3 #978DD4 #C0B9E5 #E8E6F6

Accessibility & contrast

On white

2.97
#978DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#978DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DD4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DD4#FFFFFF#000000##000000
##978DD41.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D7
Deuteranopia (green-blind)
#7994D2
Tritanopia (blue-blind)
#8999A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978dd4;
/* rgb */ color: rgb(151, 141, 212);
/* oklch */ color: oklch(68.0% 0.104 289.8);
Tailwind
colors: {
  custom: {
    50: '#b7aee1',
    500: '#978dd4',
    950: '#000000',
  },
}
SCSS
$custom: #978dd4;
$custom-light: #b7aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#978dd4",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 248.451,
    "s": 45.223,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.10374,
    "h": 289.8
  },
  "luminance": 0.30383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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