#978EE8#978EE8

#978EE8 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.2% C 0.130 H 287.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#978EE8
RGBrgb(151, 142, 232)
HSLhsl(246, 66%, 73%)
HSVhsv(246, 39%, 91%)
CMYKcmyk(34.9%, 38.8%, 0%, 9%)
CIE-LABlab(63.14, 23.97, -44.41)
CIE-LCHlch(63.14, 50.47, 298.36°)
OKLaboklab(69.15% 0.0382 -0.1245)
OKLCHoklch(69.15% 0.13 287.1)
XYZxyz(36.9970, 31.7505, 80.5074)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE8 #DFE88E
analogous
#8EB2E8 #978EE8 #C48EE8
triadic
#978EE8 #E8978E #8EE897
tetradic
#978EE8 #E88EB2 #DFE88E #8EE8C4
square
#978EE8 #E88EB2 #DFE88E #8EE8C4
split-complementary
#978EE8 #E8C48E #B2E88E
monochromatic
#3B2BD1 #685BDE #978EE8 #C6C1F2 #E8E6FA

Accessibility & contrast

On white

2.86
#978EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#978EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE8#FFFFFF#000000##000000
##978EE81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEB
Deuteranopia (green-blind)
#7096E6
Tritanopia (blue-blind)
#829FB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978ee8;
/* rgb */ color: rgb(151, 142, 232);
/* oklch */ color: oklch(69.2% 0.130 287.1);
Tailwind
colors: {
  custom: {
    50: '#b8afef',
    500: '#978ee8',
    950: '#000000',
  },
}
SCSS
$custom: #978ee8;
$custom-light: #b8afef;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee8",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 246,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69154,
    "c": 0.13027,
    "h": 287.1
  },
  "luminance": 0.31752
}

Semantic roles & 50–950 ramp

primary
#978EE8
secondary
#EFF1DA
accent
#CE17BC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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