#978DDF#978DDF

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

Color values

HEX#978DDF
RGBrgb(151, 141, 223)
HSLhsl(247, 56%, 71%)
HSVhsv(247, 37%, 87%)
CMYKcmyk(32.3%, 36.8%, 0%, 12.5%)
CIE-LABlab(62.47, 22.20, -40.47)
CIE-LCHlch(62.47, 46.15, 298.74°)
OKLaboklab(68.51% 0.0377 -0.1131)
OKLCHoklch(68.51% 0.119 288.4)
XYZxyz(35.6032, 30.9559, 73.8970)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DDF #D5DF8D
analogous
#8DACDF #978DDF #C08DDF
triadic
#978DDF #DF978D #8DDF97
tetradic
#978DDF #DF8DAC #D5DF8D #8DDFC0
square
#978DDF #DF8DAC #D5DF8D #8DDFC0
split-complementary
#978DDF #DFC08D #ACDF8D
monochromatic
#4635BD #6B5DD2 #978DDF #C3BDEC #E9E7F8

Accessibility & contrast

On white

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

On black

7.19
#978DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DDF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DDF#FFFFFF#000000##000000
##978DDF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#7495DD
Tritanopia (blue-blind)
#859CAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ddf;
/* rgb */ color: rgb(151, 141, 223);
/* oklch */ color: oklch(68.5% 0.119 288.4);
Tailwind
colors: {
  custom: {
    50: '#b8aee9',
    500: '#978ddf',
    950: '#000000',
  },
}
SCSS
$custom: #978ddf;
$custom-light: #b8aee9;
$custom-dark: #000000;
JSON
{
  "hex": "#978ddf",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 223
  },
  "hsl": {
    "h": 247.317,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68509,
    "c": 0.11921,
    "h": 288.4
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

primary
#978DDF
secondary
#ECEFD9
accent
#C422B0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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