#978EE9#978EE9

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

Color values

HEX#978EE9
RGBrgb(151, 142, 233)
HSLhsl(246, 67%, 74%)
HSVhsv(246, 39%, 91%)
CMYKcmyk(35.2%, 39.1%, 0%, 8.6%)
CIE-LABlab(63.18, 24.23, -44.89)
CIE-LCHlch(63.18, 51.01, 298.36°)
OKLaboklab(69.21% 0.0384 -0.1259)
OKLCHoklch(69.21% 0.132 287)
XYZxyz(37.1395, 31.8074, 81.2576)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE9 #E0E98E
analogous
#8EB2E9 #978EE9 #C48EE9
triadic
#978EE9 #E9978E #8EE997
tetradic
#978EE9 #E98EB2 #E0E98E #8EE9C4
square
#978EE9 #E98EB2 #E0E98E #8EE9C4
split-complementary
#978EE9 #E9C48E #B2E98E
monochromatic
#3A29D3 #685BDF #978EE9 #C6C1F3 #E7E5FA

Accessibility & contrast

On white

2.85
#978EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#978EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE9#FFFFFF#000000##000000
##978EE91.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ee9;
/* rgb */ color: rgb(151, 142, 233);
/* oklch */ color: oklch(69.2% 0.132 287.0);
Tailwind
colors: {
  custom: {
    50: '#b8aff0',
    500: '#978ee9',
    950: '#000000',
  },
}
SCSS
$custom: #978ee9;
$custom-light: #b8aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee9",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 233
  },
  "hsl": {
    "h": 245.934,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.13166,
    "h": 287
  },
  "luminance": 0.31809
}

Semantic roles & 50–950 ramp

primary
#978EE9
secondary
#EFF2D9
accent
#CF16BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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