#978EEB#978EEB

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

Color values

HEX#978EEB
RGBrgb(151, 142, 235)
HSLhsl(246, 70%, 74%)
HSVhsv(246, 40%, 92%)
CMYKcmyk(35.7%, 39.6%, 0%, 7.8%)
CIE-LABlab(63.28, 24.76, -45.84)
CIE-LCHlch(63.28, 52.10, 298.38°)
OKLaboklab(69.31% 0.0388 -0.1287)
OKLCHoklch(69.31% 0.134 286.8)
XYZxyz(37.4268, 31.9224, 82.7708)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EEB #E2EB8E
analogous
#8EB4EB #978EEB #C68EEB
triadic
#978EEB #EB978E #8EEB97
tetradic
#978EEB #EB8EB4 #E2EB8E #8EEBC6
square
#978EEB #EB8EB4 #E2EB8E #8EEBC6
split-complementary
#978EEB #EBC68E #B4EB8E
monochromatic
#3826D8 #675AE2 #978EEB #C7C2F4 #E7E5FA

Accessibility & contrast

On white

2.84
#978EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#978EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EEB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EEB#FFFFFF#000000##000000
##978EEB1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#81A0B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978eeb;
/* rgb */ color: rgb(151, 142, 235);
/* oklch */ color: oklch(69.3% 0.134 286.8);
Tailwind
colors: {
  custom: {
    50: '#b8aff2',
    500: '#978eeb',
    950: '#000000',
  },
}
SCSS
$custom: #978eeb;
$custom-light: #b8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#978eeb",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 245.806,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.13443,
    "h": 286.8
  },
  "luminance": 0.31923
}

Semantic roles & 50–950 ramp

primary
#978EEB
secondary
#F0F2D9
accent
#D214BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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