#978ED3#978ED3

#978ED3 is a light, moderate blue. Relative luminance 0.306; OKLCH L 68.1% C 0.101 H 289.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#978ED3
RGBrgb(151, 142, 211)
HSLhsl(248, 44%, 69%)
HSVhsv(248, 33%, 83%)
CMYKcmyk(28.4%, 32.7%, 0%, 17.3%)
CIE-LABlab(62.19, 18.56, -34.21)
CIE-LCHlch(62.19, 38.92, 298.48°)
OKLaboklab(68.12% 0.0335 -0.0951)
OKLCHoklch(68.12% 0.101 289.4)
XYZxyz(34.1904, 30.6278, 65.7258)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED3 #CAD38E
analogous
#8EA8D3 #978ED3 #BA8ED3
triadic
#978ED3 #D3978E #8ED397
tetradic
#978ED3 #D38EA8 #CAD38E #8ED3BA
square
#978ED3 #D38EA8 #CAD38E #8ED3BA
split-complementary
#978ED3 #D3BA8E #A8D38E
monochromatic
#4E41A6 #6E62C2 #978ED3 #C0BAE4 #E8E6F5

Accessibility & contrast

On white

2.95
#978ED3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#978ED3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED3#FFFFFF#000000##000000
##978ED31.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ed3;
/* rgb */ color: rgb(151, 142, 211);
/* oklch */ color: oklch(68.1% 0.101 289.4);
Tailwind
colors: {
  custom: {
    50: '#b7afe0',
    500: '#978ed3',
    950: '#000000',
  },
}
SCSS
$custom: #978ed3;
$custom-light: #b7afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed3",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 211
  },
  "hsl": {
    "h": 247.826,
    "s": 43.949,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.10079,
    "h": 289.4
  },
  "luminance": 0.30628
}

Semantic roles & 50–950 ramp

primary
#978ED3
secondary
#E6E8D4
accent
#B72EA5
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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