#978EDE#978EDE

#978EDE is a light, moderate blue. Relative luminance 0.312; OKLCH L 68.7% C 0.116 H 288.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#978EDE
RGBrgb(151, 142, 222)
HSLhsl(247, 55%, 71%)
HSVhsv(247, 36%, 87%)
CMYKcmyk(32%, 36%, 0%, 12.9%)
CIE-LABlab(62.67, 21.36, -39.59)
CIE-LCHlch(62.67, 44.98, 298.35°)
OKLaboklab(68.65% 0.0361 -0.1106)
OKLCHoklch(68.65% 0.116 288.1)
XYZxyz(35.6168, 31.1984, 73.2384)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDE #D5DE8E
analogous
#8EADDE #978EDE #BF8EDE
triadic
#978EDE #DE978E #8EDE97
tetradic
#978EDE #DE8EAD #D5DE8E #8EDEBF
square
#978EDE #DE8EAD #D5DE8E #8EDEBF
split-complementary
#978EDE #DEBF8E #ADDE8E
monochromatic
#4637BB #6B5FD0 #978EDE #C3BDEC #E9E7F8

Accessibility & contrast

On white

2.90
#978EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#978EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDE#FFFFFF#000000##000000
##978EDE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E1
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#869DAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978ede;
/* rgb */ color: rgb(151, 142, 222);
/* oklch */ color: oklch(68.7% 0.116 288.1);
Tailwind
colors: {
  custom: {
    50: '#b7afe8',
    500: '#978ede',
    950: '#000000',
  },
}
SCSS
$custom: #978ede;
$custom-light: #b7afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#978ede",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 246.75,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6865,
    "c": 0.11632,
    "h": 288.1
  },
  "luminance": 0.31199
}

Semantic roles & 50–950 ramp

primary
#978EDE
secondary
#ECEEDA
accent
#C223B0
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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