#978EDD#978EDD

#978EDD is a light, moderate blue. Relative luminance 0.311; OKLCH L 68.6% C 0.115 H 288.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#978EDD
RGBrgb(151, 142, 221)
HSLhsl(247, 54%, 71%)
HSVhsv(247, 36%, 87%)
CMYKcmyk(31.7%, 35.7%, 0%, 13.3%)
CIE-LABlab(62.63, 21.10, -39.10)
CIE-LCHlch(62.63, 44.43, 298.35°)
OKLaboklab(68.6% 0.0359 -0.1092)
OKLCHoklch(68.6% 0.115 288.2)
XYZxyz(35.4832, 31.1449, 72.5347)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDD #D4DD8E
analogous
#8EACDD #978EDD #BE8EDD
triadic
#978EDD #DD978E #8EDD97
tetradic
#978EDD #DD8EAC #D4DD8E #8EDDBE
square
#978EDD #DD8EAC #D4DD8E #8EDDBE
split-complementary
#978EDD #DDBE8E #ACDD8E
monochromatic
#4638B9 #6C5FCF #978EDD #C2BDEB #E9E7F8

Accessibility & contrast

On white

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

On black

7.23
#978EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDD#FFFFFF#000000##000000
##978EDD1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799E0
Deuteranopia (green-blind)
#7696DB
Tritanopia (blue-blind)
#869CAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978edd;
/* rgb */ color: rgb(151, 142, 221);
/* oklch */ color: oklch(68.6% 0.115 288.2);
Tailwind
colors: {
  custom: {
    50: '#b7afe8',
    500: '#978edd',
    950: '#000000',
  },
}
SCSS
$custom: #978edd;
$custom-light: #b7afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#978edd",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 246.835,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68601,
    "c": 0.11492,
    "h": 288.2
  },
  "luminance": 0.31146
}

Semantic roles & 50–950 ramp

primary
#978EDD
secondary
#EBEED9
accent
#C124AF
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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