#978FD5#978FD5

#978FD5 is a light, moderate blue. Relative luminance 0.310; OKLCH L 68.4% C 0.102 H 288.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#978FD5
RGBrgb(151, 143, 213)
HSLhsl(247, 45%, 70%)
HSVhsv(247, 33%, 84%)
CMYKcmyk(29.1%, 32.9%, 0%, 16.5%)
CIE-LABlab(62.53, 18.49, -34.80)
CIE-LCHlch(62.53, 39.41, 297.98°)
OKLaboklab(68.41% 0.0326 -0.0968)
OKLCHoklch(68.41% 0.102 288.6)
XYZxyz(34.5921, 31.0276, 67.1043)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FD5 #CDD58F
analogous
#8FAAD5 #978FD5 #BA8FD5
triadic
#978FD5 #D5978F #8FD597
tetradic
#978FD5 #D58FAA #CDD58F #8FD5BA
square
#978FD5 #D58FAA #CDD58F #8FD5BA
split-complementary
#978FD5 #D5BA8F #AAD58F
monochromatic
#4C40AA #6E62C4 #978FD5 #C0BCE6 #EAE8F6

Accessibility & contrast

On white

2.91
#978FD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#978FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FD5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FD5#FFFFFF#000000##000000
##978FD51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978fd5;
/* rgb */ color: rgb(151, 143, 213);
/* oklch */ color: oklch(68.4% 0.102 288.6);
Tailwind
colors: {
  custom: {
    50: '#b7afe2',
    500: '#978fd5',
    950: '#000000',
  },
}
SCSS
$custom: #978fd5;
$custom-light: #b7afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#978fd5",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 213
  },
  "hsl": {
    "h": 246.857,
    "s": 45.455,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.10211,
    "h": 288.6
  },
  "luminance": 0.31028
}

Semantic roles & 50–950 ramp

primary
#978FD5
secondary
#E8EAD6
accent
#B92DA9
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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