#978EE5#978EE5

#978EE5 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.0% C 0.126 H 287.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#978EE5
RGBrgb(151, 142, 229)
HSLhsl(246, 63%, 73%)
HSVhsv(246, 38%, 90%)
CMYKcmyk(34.1%, 38%, 0%, 10.2%)
CIE-LABlab(63.00, 23.18, -42.97)
CIE-LCHlch(63.00, 48.82, 298.34°)
OKLaboklab(69% 0.0376 -0.1204)
OKLCHoklch(69% 0.126 287.3)
XYZxyz(36.5746, 31.5815, 78.2824)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE5 #DCE58E
analogous
#8EB0E5 #978EE5 #C28EE5
triadic
#978EE5 #E5978E #8EE597
tetradic
#978EE5 #E58EB0 #DCE58E #8EE5C2
square
#978EE5 #E58EB0 #DCE58E #8EE5C2
split-complementary
#978EE5 #E5C28E #B0E58E
monochromatic
#3F2FCA #695CDA #978EE5 #C5C0F0 #E8E6F9

Accessibility & contrast

On white

2.87
#978EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#978EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE5#FFFFFF#000000##000000
##978EE51.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE8
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#839EAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978ee5;
/* rgb */ color: rgb(151, 142, 229);
/* oklch */ color: oklch(69.0% 0.126 287.3);
Tailwind
colors: {
  custom: {
    50: '#b8afed',
    500: '#978ee5',
    950: '#000000',
  },
}
SCSS
$custom: #978ee5;
$custom-light: #b8afed;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee5",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 246.207,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.12611,
    "h": 287.3
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#978EE5
secondary
#EEF1DA
accent
#CA1BB8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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