#978EDA#978EDA

#978EDA is a light, moderate blue. Relative luminance 0.310; OKLCH L 68.5% C 0.111 H 288.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#978EDA
RGBrgb(151, 142, 218)
HSLhsl(247, 51%, 71%)
HSVhsv(247, 35%, 85%)
CMYKcmyk(30.7%, 34.9%, 0%, 14.5%)
CIE-LABlab(62.50, 20.33, -37.64)
CIE-LCHlch(62.50, 42.78, 298.38°)
OKLaboklab(68.46% 0.0352 -0.1049)
OKLCHoklch(68.46% 0.111 288.5)
XYZxyz(35.0871, 30.9865, 70.4484)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDA #D1DA8E
analogous
#8EABDA #978EDA #BD8EDA
triadic
#978EDA #DA978E #8EDA97
tetradic
#978EDA #DA8EAB #D1DA8E #8EDABD
square
#978EDA #DA8EAB #D1DA8E #8EDABD
split-complementary
#978EDA #DABD8E #ABDA8E
monochromatic
#493BB3 #6D60CB #978EDA #C1BCE9 #EAE8F7

Accessibility & contrast

On white

2.92
#978EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#978EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDA#FFFFFF#000000##000000
##978EDA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DD
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#879CAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978eda;
/* rgb */ color: rgb(151, 142, 218);
/* oklch */ color: oklch(68.5% 0.111 288.5);
Tailwind
colors: {
  custom: {
    50: '#b7afe5',
    500: '#978eda',
    950: '#000000',
  },
}
SCSS
$custom: #978eda;
$custom-light: #b7afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#978eda",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 247.105,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68455,
    "c": 0.1107,
    "h": 288.5
  },
  "luminance": 0.30987
}

Semantic roles & 50–950 ramp

primary
#978EDA
secondary
#EAECD8
accent
#BE27AC
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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