#978EEE#978EEE

#978EEE is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.139 H 286.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#978EEE
RGBrgb(151, 142, 238)
HSLhsl(246, 74%, 75%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(36.6%, 40.3%, 0%, 6.7%)
CIE-LABlab(63.42, 25.56, -47.27)
CIE-LCHlch(63.42, 53.74, 298.40°)
OKLaboklab(69.47% 0.0393 -0.1329)
OKLCHoklch(69.47% 0.139 286.5)
XYZxyz(37.8639, 32.0972, 85.0727)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EEE #E5EE8E
analogous
#8EB5EE #978EEE #C78EEE
triadic
#978EEE #EE978E #8EEE97
tetradic
#978EEE #EE8EB5 #E5EE8E #8EEEC7
square
#978EEE #EE8EB5 #E5EE8E #8EEEC7
split-complementary
#978EEE #EEC78E #B5EE8E
monochromatic
#3524DE #6659E6 #978EEE #C8C3F6 #E7E4FB

Accessibility & contrast

On white

2.83
#978EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#978EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EEE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EEE#FFFFFF#000000##000000
##978EEE1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#80A0B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978eee;
/* rgb */ color: rgb(151, 142, 238);
/* oklch */ color: oklch(69.5% 0.139 286.5);
Tailwind
colors: {
  custom: {
    50: '#b9aff4',
    500: '#978eee',
    950: '#000000',
  },
}
SCSS
$custom: #978eee;
$custom-light: #b9aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#978eee",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 245.625,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69467,
    "c": 0.13857,
    "h": 286.5
  },
  "luminance": 0.32098
}

Semantic roles & 50–950 ramp

primary
#978EEE
secondary
#F0F3D8
accent
#D610C3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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