#978ED5#978ED5

#978ED5 is a light, moderate blue. Relative luminance 0.307; OKLCH L 68.2% C 0.104 H 289.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#978ED5
RGBrgb(151, 142, 213)
HSLhsl(248, 46%, 70%)
HSVhsv(248, 33%, 84%)
CMYKcmyk(29.1%, 33.3%, 0%, 16.5%)
CIE-LABlab(62.28, 19.07, -35.20)
CIE-LCHlch(62.28, 40.03, 298.44°)
OKLaboklab(68.22% 0.034 -0.0979)
OKLCHoklch(68.22% 0.104 289.2)
XYZxyz(34.4427, 30.7287, 67.0545)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED5 #CCD58E
analogous
#8EA9D5 #978ED5 #BB8ED5
triadic
#978ED5 #D5978E #8ED597
tetradic
#978ED5 #D58EA9 #CCD58E #8ED5BB
square
#978ED5 #D58EA9 #CCD58E #8ED5BB
split-complementary
#978ED5 #D5BB8E #A9D58E
monochromatic
#4D3FAA #6E61C4 #978ED5 #C0BBE6 #E9E7F6

Accessibility & contrast

On white

2.94
#978ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#978ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED5#FFFFFF#000000##000000
##978ED51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A98D8
Deuteranopia (green-blind)
#7A95D3
Tritanopia (blue-blind)
#899BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ed5;
/* rgb */ color: rgb(151, 142, 213);
/* oklch */ color: oklch(68.2% 0.104 289.2);
Tailwind
colors: {
  custom: {
    50: '#b7afe2',
    500: '#978ed5',
    950: '#000000',
  },
}
SCSS
$custom: #978ed5;
$custom-light: #b7afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed5",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 213
  },
  "hsl": {
    "h": 247.606,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.10363,
    "h": 289.2
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

primary
#978ED5
secondary
#E7EAD5
accent
#B92CA7
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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