#978ED2#978ED2

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

Color values

HEX#978ED2
RGBrgb(151, 142, 210)
HSLhsl(248, 43%, 69%)
HSVhsv(248, 32%, 82%)
CMYKcmyk(28.1%, 32.4%, 0%, 17.6%)
CIE-LABlab(62.15, 18.31, -33.72)
CIE-LCHlch(62.15, 38.37, 298.50°)
OKLaboklab(68.08% 0.0333 -0.0936)
OKLCHoklch(68.08% 0.099 289.5)
XYZxyz(34.0654, 30.5778, 65.0676)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ED2 #C9D28E
analogous
#8EA7D2 #978ED2 #B98ED2
triadic
#978ED2 #D2978E #8ED297
tetradic
#978ED2 #D28EA7 #C9D28E #8ED2B9
square
#978ED2 #D28EA7 #C9D28E #8ED2B9
split-complementary
#978ED2 #D2B98E #A7D28E
monochromatic
#4E41A4 #6F62C1 #978ED2 #BFBAE3 #E8E6F5

Accessibility & contrast

On white

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

On black

7.12
#978ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ED2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ED2#FFFFFF#000000##000000
##978ED21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#7B95D0
Tritanopia (blue-blind)
#8A9AA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978ed2;
/* rgb */ color: rgb(151, 142, 210);
/* oklch */ color: oklch(68.1% 0.099 289.5);
Tailwind
colors: {
  custom: {
    50: '#b7afe0',
    500: '#978ed2',
    950: '#000000',
  },
}
SCSS
$custom: #978ed2;
$custom-light: #b7afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#978ed2",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 210
  },
  "hsl": {
    "h": 247.941,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68075,
    "c": 0.09938,
    "h": 289.5
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#978ED2
secondary
#E5E8D4
accent
#B62FA4
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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