#978ED4#978ED4

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

Color values

HEX#978ED4
RGBrgb(151, 142, 212)
HSLhsl(248, 45%, 69%)
HSVhsv(248, 33%, 83%)
CMYKcmyk(28.8%, 33%, 0%, 16.9%)
CIE-LABlab(62.23, 18.81, -34.70)
CIE-LCHlch(62.23, 39.48, 298.46°)
OKLaboklab(68.17% 0.0338 -0.0965)
OKLCHoklch(68.17% 0.102 289.3)
XYZxyz(34.3161, 30.6781, 66.3881)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED4 #CBD48E
analogous
#8EA8D4 #978ED4 #BA8ED4
triadic
#978ED4 #D4978E #8ED497
tetradic
#978ED4 #D48EA8 #CBD48E #8ED4BA
square
#978ED4 #D48EA8 #CBD48E #8ED4BA
split-complementary
#978ED4 #D4BA8E #A8D48E
monochromatic
#4D40A8 #6E62C3 #978ED4 #C0BAE5 #E9E7F6

Accessibility & contrast

On white

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

On black

7.14
#978ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED4#FFFFFF#000000##000000
##978ED41.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#7B95D2
Tritanopia (blue-blind)
#899AA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978ed4;
/* rgb */ color: rgb(151, 142, 212);
/* oklch */ color: oklch(68.2% 0.102 289.3);
Tailwind
colors: {
  custom: {
    50: '#b7afe1',
    500: '#978ed4',
    950: '#000000',
  },
}
SCSS
$custom: #978ed4;
$custom-light: #b7afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed4",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 247.714,
    "s": 44.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68169,
    "c": 0.10222,
    "h": 289.3
  },
  "luminance": 0.30679
}

Semantic roles & 50–950 ramp

primary
#978ED4
secondary
#E6E9D5
accent
#B82DA6
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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