#978CEE#978CEE

#978CEE is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.141 H 287.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#978CEE
RGBrgb(151, 140, 238)
HSLhsl(247, 74%, 74%)
HSVhsv(247, 41%, 93%)
CMYKcmyk(36.6%, 41.2%, 0%, 6.7%)
CIE-LABlab(62.93, 26.71, -48.04)
CIE-LCHlch(62.93, 54.97, 299.07°)
OKLaboklab(69.09% 0.0419 -0.1351)
OKLCHoklch(69.09% 0.141 287.2)
XYZxyz(37.5690, 31.5074, 84.9744)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CEE #E3EE8C
analogous
#8CB2EE #978CEE #C88CEE
triadic
#978CEE #EE978C #8CEE97
tetradic
#978CEE #EE8CB2 #E3EE8C #8CEEC8
square
#978CEE #EE8CB2 #E3EE8C #8CEEC8
split-complementary
#978CEE #EEC88C #B2EE8C
monochromatic
#3721DE #6757E6 #978CEE #C7C1F6 #E7E4FB

Accessibility & contrast

On white

2.88
#978CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#978CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CEE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CEE#FFFFFF#000000##000000
##978CEE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#809FB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978cee;
/* rgb */ color: rgb(151, 140, 238);
/* oklch */ color: oklch(69.1% 0.141 287.2);
Tailwind
colors: {
  custom: {
    50: '#b9adf4',
    500: '#978cee',
    950: '#000000',
  },
}
SCSS
$custom: #978cee;
$custom-light: #b9adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#978cee",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 246.735,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.14147,
    "h": 287.2
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

primary
#978CEE
secondary
#F0F3D8
accent
#D60FC0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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