#978AE2#978AE2

#978AE2 is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.128 H 289.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#978AE2
RGBrgb(151, 138, 226)
HSLhsl(249, 60%, 71%)
HSVhsv(249, 39%, 89%)
CMYKcmyk(33.2%, 38.9%, 0%, 11.4%)
CIE-LABlab(61.87, 24.70, -43.08)
CIE-LCHlch(61.87, 49.66, 299.83°)
OKLaboklab(68.09% 0.0423 -0.1207)
OKLCHoklch(68.09% 0.128 289.3)
XYZxyz(35.5748, 30.2464, 75.9006)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AE2 #D5E28A
analogous
#8AA9E2 #978AE2 #C38AE2
triadic
#978AE2 #E2978A #8AE297
tetradic
#978AE2 #E28AA9 #D5E28A #8AE2C3
square
#978AE2 #E28AA9 #D5E28A #8AE2C3
split-complementary
#978AE2 #E2C38A #A9E28A
monochromatic
#4630C2 #6B59D6 #978AE2 #C3BBEE #E9E6F9

Accessibility & contrast

On white

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

On black

7.05
#978AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AE2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AE2#FFFFFF#000000##000000
##978AE21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E5
Deuteranopia (green-blind)
#6F93E0
Tritanopia (blue-blind)
#859AAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978ae2;
/* rgb */ color: rgb(151, 138, 226);
/* oklch */ color: oklch(68.1% 0.128 289.3);
Tailwind
colors: {
  custom: {
    50: '#b8aceb',
    500: '#978ae2',
    950: '#000000',
  },
}
SCSS
$custom: #978ae2;
$custom-light: #b8aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ae2",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 248.864,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68093,
    "c": 0.12789,
    "h": 289.3
  },
  "luminance": 0.30247
}

Semantic roles & 50–950 ramp

primary
#978AE2
secondary
#ECEFD8
accent
#C81EAF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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