#978ED7#978ED7

#978ED7 is a light, moderate blue. Relative luminance 0.308; OKLCH L 68.3% C 0.106 H 288.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#978ED7
RGBrgb(151, 142, 215)
HSLhsl(247, 48%, 70%)
HSVhsv(247, 34%, 84%)
CMYKcmyk(29.8%, 34%, 0%, 15.7%)
CIE-LABlab(62.36, 19.57, -36.18)
CIE-LCHlch(62.36, 41.13, 298.41°)
OKLaboklab(68.31% 0.0345 -0.1007)
OKLCHoklch(68.31% 0.106 288.9)
XYZxyz(34.6981, 30.8309, 68.3996)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED7 #CED78E
analogous
#8EAAD7 #978ED7 #BB8ED7
triadic
#978ED7 #D7978E #8ED797
tetradic
#978ED7 #D78EAA #CED78E #8ED7BB
square
#978ED7 #D78EAA #CED78E #8ED7BB
split-complementary
#978ED7 #D7BB8E #AAD78E
monochromatic
#4B3DAD #6D61C7 #978ED7 #C1BBE7 #EAE8F7

Accessibility & contrast

On white

2.93
#978ED7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#978ED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED7#FFFFFF#000000##000000
##978ED71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998DA
Deuteranopia (green-blind)
#7995D5
Tritanopia (blue-blind)
#889BA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ed7;
/* rgb */ color: rgb(151, 142, 215);
/* oklch */ color: oklch(68.3% 0.106 288.9);
Tailwind
colors: {
  custom: {
    50: '#b7afe3',
    500: '#978ed7',
    950: '#000000',
  },
}
SCSS
$custom: #978ed7;
$custom-light: #b7afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed7",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 215
  },
  "hsl": {
    "h": 247.397,
    "s": 47.712,
    "l": 70
  },
  "oklch": {
    "l": 0.68311,
    "c": 0.10646,
    "h": 288.9
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#978ED7
secondary
#E8EBD6
accent
#BB2BA9
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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