#978EDC#978EDC

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

Color values

HEX#978EDC
RGBrgb(151, 142, 220)
HSLhsl(247, 53%, 71%)
HSVhsv(247, 35%, 86%)
CMYKcmyk(31.4%, 35.5%, 0%, 13.7%)
CIE-LABlab(62.59, 20.85, -38.62)
CIE-LCHlch(62.59, 43.88, 298.36°)
OKLaboklab(68.55% 0.0357 -0.1078)
OKLCHoklch(68.55% 0.114 288.3)
XYZxyz(35.3504, 31.0918, 71.8351)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDC #D3DC8E
analogous
#8EACDC #978EDC #BE8EDC
triadic
#978EDC #DC978E #8EDC97
tetradic
#978EDC #DC8EAC #D3DC8E #8EDCBE
square
#978EDC #DC8EAC #D3DC8E #8EDCBE
split-complementary
#978EDC #DCBE8E #ACDC8E
monochromatic
#4739B7 #6C5FCE #978EDC #C2BDEA #E9E8F8

Accessibility & contrast

On white

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

On black

7.22
#978EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDC#FFFFFF#000000##000000
##978EDC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#7795DA
Tritanopia (blue-blind)
#869CAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978edc;
/* rgb */ color: rgb(151, 142, 220);
/* oklch */ color: oklch(68.6% 0.114 288.3);
Tailwind
colors: {
  custom: {
    50: '#b7afe7',
    500: '#978edc',
    950: '#000000',
  },
}
SCSS
$custom: #978edc;
$custom-light: #b7afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#978edc",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 220
  },
  "hsl": {
    "h": 246.923,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68552,
    "c": 0.11351,
    "h": 288.3
  },
  "luminance": 0.31093
}

Semantic roles & 50–950 ramp

primary
#978EDC
secondary
#EBEDD9
accent
#C025AE
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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