#978EDF#978EDF

#978EDF is a light, moderate blue. Relative luminance 0.313; OKLCH L 68.7% C 0.118 H 288.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#978EDF
RGBrgb(151, 142, 223)
HSLhsl(247, 56%, 72%)
HSVhsv(247, 36%, 87%)
CMYKcmyk(32.3%, 36.3%, 0%, 12.5%)
CIE-LABlab(62.72, 21.62, -40.07)
CIE-LCHlch(62.72, 45.53, 298.35°)
OKLaboklab(68.7% 0.0363 -0.112)
OKLCHoklch(68.7% 0.118 288)
XYZxyz(35.7513, 31.2521, 73.9464)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EDF #D6DF8E
analogous
#8EAEDF #978EDF #C08EDF
triadic
#978EDF #DF978E #8EDF97
tetradic
#978EDF #DF8EAE #D6DF8E #8EDFC0
square
#978EDF #DF8EAE #D6DF8E #8EDFC0
split-complementary
#978EDF #DFC08E #AEDF8E
monochromatic
#4536BD #6B5ED1 #978EDF #C3BEED #E9E7F8

Accessibility & contrast

On white

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

On black

7.25
#978EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EDF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EDF#FFFFFF#000000##000000
##978EDF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE2
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#859DAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978edf;
/* rgb */ color: rgb(151, 142, 223);
/* oklch */ color: oklch(68.7% 0.118 288.0);
Tailwind
colors: {
  custom: {
    50: '#b8afe9',
    500: '#978edf',
    950: '#000000',
  },
}
SCSS
$custom: #978edf;
$custom-light: #b8afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#978edf",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 223
  },
  "hsl": {
    "h": 246.667,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.687,
    "c": 0.11772,
    "h": 288
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#978EDF
secondary
#ECEFDA
accent
#C322B1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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