#978DEE#978DEE

#978DEE is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.140 H 286.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#978DEE
RGBrgb(151, 141, 238)
HSLhsl(246, 74%, 74%)
HSVhsv(246, 41%, 93%)
CMYKcmyk(36.6%, 40.8%, 0%, 6.7%)
CIE-LABlab(63.18, 26.14, -47.66)
CIE-LCHlch(63.18, 54.35, 298.74°)
OKLaboklab(69.28% 0.0406 -0.134)
OKLCHoklch(69.28% 0.14 286.9)
XYZxyz(37.7158, 31.8010, 85.0234)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DEE #E4EE8D
analogous
#8DB4EE #978DEE #C88DEE
triadic
#978DEE #EE978D #8DEE97
tetradic
#978DEE #EE8DB4 #E4EE8D #8DEEC8
square
#978DEE #EE8DB4 #E4EE8D #8DEEC8
split-complementary
#978DEE #EEC88D #B4EE8D
monochromatic
#3622DE #6658E6 #978DEE #C8C2F6 #E7E4FB

Accessibility & contrast

On white

2.85
#978DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#978DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DEE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DEE#FFFFFF#000000##000000
##978DEE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#80A0B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978dee;
/* rgb */ color: rgb(151, 141, 238);
/* oklch */ color: oklch(69.3% 0.140 286.9);
Tailwind
colors: {
  custom: {
    50: '#b9aef4',
    500: '#978dee',
    950: '#000000',
  },
}
SCSS
$custom: #978dee;
$custom-light: #b9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#978dee",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 246.186,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6928,
    "c": 0.14002,
    "h": 286.9
  },
  "luminance": 0.31802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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