#978EED#978EED

#978EED is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.137 H 286.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#978EED
RGBrgb(151, 142, 237)
HSLhsl(246, 73%, 74%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(36.3%, 40.1%, 0%, 7.1%)
CIE-LABlab(63.37, 25.29, -46.80)
CIE-LCHlch(63.37, 53.19, 298.39°)
OKLaboklab(69.41% 0.0392 -0.1315)
OKLCHoklch(69.41% 0.137 286.6)
XYZxyz(37.7174, 32.0386, 84.3012)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EED #E4ED8E
analogous
#8EB5ED #978EED #C78EED
triadic
#978EED #ED978E #8EED97
tetradic
#978EED #ED8EB5 #E4ED8E #8EEDC7
square
#978EED #ED8EB5 #E4ED8E #8EEDC7
split-complementary
#978EED #EDC78E #B5ED8E
monochromatic
#3624DC #6659E5 #978EED #C8C3F5 #E7E5FB

Accessibility & contrast

On white

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

On black

7.41
#978EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EED
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EED#FFFFFF#000000##000000
##978EED1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#80A0B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978eed;
/* rgb */ color: rgb(151, 142, 237);
/* oklch */ color: oklch(69.4% 0.137 286.6);
Tailwind
colors: {
  custom: {
    50: '#b8aff3',
    500: '#978eed',
    950: '#000000',
  },
}
SCSS
$custom: #978eed;
$custom-light: #b8aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#978eed",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 245.684,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.13718,
    "h": 286.6
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978EED

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

Preview Lab → · Contrast checker → · Palette generator →

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