#978EEA#978EEA

#978EEA is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.3% C 0.133 H 286.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#978EEA
RGBrgb(151, 142, 234)
HSLhsl(246, 69%, 74%)
HSVhsv(246, 39%, 92%)
CMYKcmyk(35.5%, 39.3%, 0%, 8.2%)
CIE-LABlab(63.23, 24.50, -45.37)
CIE-LCHlch(63.23, 51.56, 298.37°)
OKLaboklab(69.26% 0.0386 -0.1273)
OKLCHoklch(69.26% 0.133 286.9)
XYZxyz(37.2827, 31.8647, 82.0121)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EEA #E1EA8E
analogous
#8EB3EA #978EEA #C58EEA
triadic
#978EEA #EA978E #8EEA97
tetradic
#978EEA #EA8EB3 #E1EA8E #8EEAC5
square
#978EEA #EA8EB3 #E1EA8E #8EEAC5
split-complementary
#978EEA #EAC58E #B3EA8E
monochromatic
#3928D6 #685AE0 #978EEA #C6C2F4 #E7E5FA

Accessibility & contrast

On white

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

On black

7.37
#978EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EEA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EEA#FFFFFF#000000##000000
##978EEA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#819FB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978eea;
/* rgb */ color: rgb(151, 142, 234);
/* oklch */ color: oklch(69.3% 0.133 286.9);
Tailwind
colors: {
  custom: {
    50: '#b8aff1',
    500: '#978eea',
    950: '#000000',
  },
}
SCSS
$custom: #978eea;
$custom-light: #b8aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#978eea",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 245.87,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.13304,
    "h": 286.9
  },
  "luminance": 0.31866
}

Semantic roles & 50–950 ramp

primary
#978EEA
secondary
#EFF2D9
accent
#D115BE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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