#978AEC#978AEC

#978AEC is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.6% C 0.142 H 288.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#978AEC
RGBrgb(151, 138, 236)
HSLhsl(248, 72%, 73%)
HSVhsv(248, 42%, 93%)
CMYKcmyk(36%, 41.5%, 0%, 7.5%)
CIE-LABlab(62.35, 27.33, -47.86)
CIE-LCHlch(62.35, 55.12, 299.73°)
OKLaboklab(68.62% 0.0442 -0.1346)
OKLCHoklch(68.62% 0.142 288.2)
XYZxyz(36.9872, 30.8113, 83.3390)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AEC #DFEC8A
analogous
#8AAEEC #978AEC #C88AEC
triadic
#978AEC #EC978A #8AEC97
tetradic
#978AEC #EC8AAE #DFEC8A #8AECC8
square
#978AEC #EC8AAE #DFEC8A #8AECC8
split-complementary
#978AEC #ECC88A #AEEC8A
monochromatic
#3B23D8 #6855E3 #978AEC #C6BFF5 #E8E5FB

Accessibility & contrast

On white

2.93
#978AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#978AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AEC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AEC#FFFFFF#000000##000000
##978AEC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#6994EA
Tritanopia (blue-blind)
#819DB0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978aec;
/* rgb */ color: rgb(151, 138, 236);
/* oklch */ color: oklch(68.6% 0.142 288.2);
Tailwind
colors: {
  custom: {
    50: '#b9acf2',
    500: '#978aec',
    950: '#000000',
  },
}
SCSS
$custom: #978aec;
$custom-light: #b9acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#978aec",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 247.959,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68617,
    "c": 0.14166,
    "h": 288.2
  },
  "luminance": 0.30812
}

Semantic roles & 50–950 ramp

primary
#978AEC
secondary
#EFF2D9
accent
#D411BA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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