#978EDB#978EDB

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

Color values

HEX#978EDB
RGBrgb(151, 142, 219)
HSLhsl(247, 52%, 71%)
HSVhsv(247, 35%, 86%)
CMYKcmyk(31.1%, 35.2%, 0%, 14.1%)
CIE-LABlab(62.54, 20.59, -38.13)
CIE-LCHlch(62.54, 43.33, 298.37°)
OKLaboklab(68.5% 0.0354 -0.1063)
OKLCHoklch(68.5% 0.112 288.4)
XYZxyz(35.2184, 31.0390, 71.1397)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDB #D2DB8E
analogous
#8EABDB #978EDB #BD8EDB
triadic
#978EDB #DB978E #8EDB97
tetradic
#978EDB #DB8EAB #D2DB8E #8EDBBD
square
#978EDB #DB8EAB #D2DB8E #8EDBBD
split-complementary
#978EDB #DBBD8E #ABDB8E
monochromatic
#483AB5 #6C60CC #978EDB #C2BCEA #EAE8F8

Accessibility & contrast

On white

2.91
#978EDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#978EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDB#FFFFFF#000000##000000
##978EDB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#879CAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978edb;
/* rgb */ color: rgb(151, 142, 219);
/* oklch */ color: oklch(68.5% 0.112 288.4);
Tailwind
colors: {
  custom: {
    50: '#b7afe6',
    500: '#978edb',
    950: '#000000',
  },
}
SCSS
$custom: #978edb;
$custom-light: #b7afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#978edb",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 219
  },
  "hsl": {
    "h": 247.013,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.1121,
    "h": 288.4
  },
  "luminance": 0.3104
}

Semantic roles & 50–950 ramp

primary
#978EDB
secondary
#EAEDD8
accent
#BF26AD
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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