#978ED1#978ED1

#978ED1 is a light, moderate blue. Relative luminance 0.305; OKLCH L 68.0% C 0.098 H 289.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#978ED1
RGBrgb(151, 142, 209)
HSLhsl(248, 42%, 69%)
HSVhsv(248, 32%, 82%)
CMYKcmyk(27.8%, 32.1%, 0%, 18%)
CIE-LABlab(62.11, 18.06, -33.23)
CIE-LCHlch(62.11, 37.82, 298.53°)
OKLaboklab(68.03% 0.033 -0.0922)
OKLCHoklch(68.03% 0.098 289.7)
XYZxyz(33.9412, 30.5281, 64.4135)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED1 #C8D18E
analogous
#8EA7D1 #978ED1 #B98ED1
triadic
#978ED1 #D1978E #8ED197
tetradic
#978ED1 #D18EA7 #C8D18E #8ED1B9
square
#978ED1 #D18EA7 #C8D18E #8ED1B9
split-complementary
#978ED1 #D1B98E #A7D18E
monochromatic
#4F42A2 #6F63BF #978ED1 #BFB9E3 #E7E5F4

Accessibility & contrast

On white

2.96
#978ED1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#978ED1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED1#FFFFFF#000000##000000
##978ED11.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D4
Deuteranopia (green-blind)
#7C95CF
Tritanopia (blue-blind)
#8A9AA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978ed1;
/* rgb */ color: rgb(151, 142, 209);
/* oklch */ color: oklch(68.0% 0.098 289.7);
Tailwind
colors: {
  custom: {
    50: '#b7afdf',
    500: '#978ed1',
    950: '#000000',
  },
}
SCSS
$custom: #978ed1;
$custom-light: #b7afdf;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed1",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 209
  },
  "hsl": {
    "h": 248.06,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.09796,
    "h": 289.7
  },
  "luminance": 0.30529
}

Semantic roles & 50–950 ramp

primary
#978ED1
secondary
#E5E7D3
accent
#B530A3
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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