#978EE7#978EE7

#978EE7 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.1% C 0.129 H 287.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#978EE7
RGBrgb(151, 142, 231)
HSLhsl(246, 65%, 73%)
HSVhsv(246, 39%, 91%)
CMYKcmyk(34.6%, 38.5%, 0%, 9.4%)
CIE-LABlab(63.09, 23.71, -43.93)
CIE-LCHlch(63.09, 49.92, 298.35°)
OKLaboklab(69.1% 0.038 -0.1231)
OKLCHoklch(69.1% 0.129 287.2)
XYZxyz(36.8554, 31.6938, 79.7615)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE7 #DEE78E
analogous
#8EB1E7 #978EE7 #C38EE7
triadic
#978EE7 #E7978E #8EE797
tetradic
#978EE7 #E78EB1 #DEE78E #8EE7C3
square
#978EE7 #E78EB1 #DEE78E #8EE7C3
split-complementary
#978EE7 #E7C38E #B1E78E
monochromatic
#3C2CCF #695CDC #978EE7 #C5C0F2 #E8E6FA

Accessibility & contrast

On white

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

On black

7.34
#978EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE7#FFFFFF#000000##000000
##978EE71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEA
Deuteranopia (green-blind)
#7196E5
Tritanopia (blue-blind)
#829FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978ee7;
/* rgb */ color: rgb(151, 142, 231);
/* oklch */ color: oklch(69.1% 0.129 287.2);
Tailwind
colors: {
  custom: {
    50: '#b8afef',
    500: '#978ee7',
    950: '#000000',
  },
}
SCSS
$custom: #978ee7;
$custom-light: #b8afef;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee7",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 246.067,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.12888,
    "h": 287.2
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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