#978DED#978DED

#978DED is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.139 H 287.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#978DED
RGBrgb(151, 141, 237)
HSLhsl(246, 73%, 74%)
HSVhsv(246, 41%, 93%)
CMYKcmyk(36.3%, 40.5%, 0%, 7.1%)
CIE-LABlab(63.13, 25.87, -47.18)
CIE-LCHlch(63.13, 53.81, 298.74°)
OKLaboklab(69.23% 0.0404 -0.1326)
OKLCHoklch(69.23% 0.139 287)
XYZxyz(37.5693, 31.7424, 84.2518)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DED #E3ED8D
analogous
#8DB3ED #978DED #C78DED
triadic
#978DED #ED978D #8DED97
tetradic
#978DED #ED8DB3 #E3ED8D #8DEDC7
square
#978DED #ED8DB3 #E3ED8D #8DEDC7
split-complementary
#978DED #EDC78D #B3ED8D
monochromatic
#3723DC #6758E5 #978DED #C7C2F5 #E7E5FB

Accessibility & contrast

On white

2.86
#978DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#978DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DED
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DED#FFFFFF#000000##000000
##978DED1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#809FB2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978ded;
/* rgb */ color: rgb(151, 141, 237);
/* oklch */ color: oklch(69.2% 0.139 287.0);
Tailwind
colors: {
  custom: {
    50: '#b9aef3',
    500: '#978ded',
    950: '#000000',
  },
}
SCSS
$custom: #978ded;
$custom-light: #b9aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#978ded",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 246.25,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69227,
    "c": 0.13864,
    "h": 287
  },
  "luminance": 0.31743
}

Semantic roles & 50–950 ramp

primary
#978DED
secondary
#F0F2D9
accent
#D511C0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978DED

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

Preview Lab → · Contrast checker → · Palette generator →

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