#978DE8#978DE8

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

Color values

HEX#978DE8
RGBrgb(151, 141, 232)
HSLhsl(247, 66%, 73%)
HSVhsv(247, 39%, 91%)
CMYKcmyk(34.9%, 39.2%, 0%, 9%)
CIE-LABlab(62.89, 24.55, -44.80)
CIE-LCHlch(62.89, 51.08, 298.72°)
OKLaboklab(68.97% 0.0395 -0.1257)
OKLCHoklch(68.97% 0.132 287.5)
XYZxyz(36.8489, 31.4542, 80.4581)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DE8 #DEE88D
analogous
#8DB0E8 #978DE8 #C48DE8
triadic
#978DE8 #E8978D #8DE897
tetradic
#978DE8 #E88DB0 #DEE88D #8DE8C4
square
#978DE8 #E88DB0 #DEE88D #8DE8C4
split-complementary
#978DE8 #E8C48D #B0E88D
monochromatic
#3C2AD1 #695ADE #978DE8 #C5C0F2 #E8E6FA

Accessibility & contrast

On white

2.88
#978DE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#978DE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DE8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DE8#FFFFFF#000000##000000
##978DE81.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEC
Deuteranopia (green-blind)
#6F96E6
Tritanopia (blue-blind)
#829EAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978de8;
/* rgb */ color: rgb(151, 141, 232);
/* oklch */ color: oklch(69.0% 0.132 287.5);
Tailwind
colors: {
  custom: {
    50: '#b8aef0',
    500: '#978de8',
    950: '#000000',
  },
}
SCSS
$custom: #978de8;
$custom-light: #b8aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#978de8",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 246.593,
    "s": 66.423,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68966,
    "c": 0.13175,
    "h": 287.5
  },
  "luminance": 0.31455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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