#978EE4#978EE4

#978EE4 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.0% C 0.125 H 287.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#978EE4
RGBrgb(151, 142, 228)
HSLhsl(246, 61%, 73%)
HSVhsv(246, 38%, 89%)
CMYKcmyk(33.8%, 37.7%, 0%, 10.6%)
CIE-LABlab(62.95, 22.92, -42.49)
CIE-LCHlch(62.95, 48.28, 298.34°)
OKLaboklab(68.95% 0.0374 -0.119)
OKLCHoklch(68.95% 0.125 287.5)
XYZxyz(36.4353, 31.5258, 77.5491)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE4 #DBE48E
analogous
#8EB0E4 #978EE4 #C28EE4
triadic
#978EE4 #E4978E #8EE497
tetradic
#978EE4 #E48EB0 #DBE48E #8EE4C2
square
#978EE4 #E48EB0 #DBE48E #8EE4C2
split-complementary
#978EE4 #E4C28E #B0E48E
monochromatic
#4030C8 #6A5DD8 #978EE4 #C4BFF0 #E8E6F9

Accessibility & contrast

On white

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

On black

7.31
#978EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE4#FFFFFF#000000##000000
##978EE41.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#7296E2
Tritanopia (blue-blind)
#849EAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978ee4;
/* rgb */ color: rgb(151, 142, 228);
/* oklch */ color: oklch(69.0% 0.125 287.5);
Tailwind
colors: {
  custom: {
    50: '#b8afed',
    500: '#978ee4',
    950: '#000000',
  },
}
SCSS
$custom: #978ee4;
$custom-light: #b8afed;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee4",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 246.279,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.12471,
    "h": 287.5
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#978EE4
secondary
#EEF0DB
accent
#C91CB7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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