#978FD2#978FD2

#978FD2 is a light, moderate blue. Relative luminance 0.309; OKLCH L 68.3% C 0.098 H 289.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#978FD2
RGBrgb(151, 143, 210)
HSLhsl(247, 43%, 69%)
HSVhsv(247, 32%, 82%)
CMYKcmyk(28.1%, 31.9%, 0%, 17.6%)
CIE-LABlab(62.40, 17.74, -33.33)
CIE-LCHlch(62.40, 37.75, 298.02°)
OKLaboklab(68.27% 0.0319 -0.0925)
OKLCHoklch(68.27% 0.098 289)
XYZxyz(34.2149, 30.8767, 65.1174)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FD2 #CAD28F
analogous
#8FA9D2 #978FD2 #B98FD2
triadic
#978FD2 #D2978F #8FD297
tetradic
#978FD2 #D28FA9 #CAD28F #8FD2B9
square
#978FD2 #D28FA9 #CAD28F #8FD2B9
split-complementary
#978FD2 #D2B98F #A9D28F
monochromatic
#4E42A5 #6E63C0 #978FD2 #C0BBE4 #E8E6F5

Accessibility & contrast

On white

2.93
#978FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#978FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FD2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FD2#FFFFFF#000000##000000
##978FD21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#8A9BA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978fd2;
/* rgb */ color: rgb(151, 143, 210);
/* oklch */ color: oklch(68.3% 0.098 289.0);
Tailwind
colors: {
  custom: {
    50: '#b7afe0',
    500: '#978fd2',
    950: '#000000',
  },
}
SCSS
$custom: #978fd2;
$custom-light: #b7afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#978fd2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 247.164,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6827,
    "c": 0.09784,
    "h": 289
  },
  "luminance": 0.30877
}

Semantic roles & 50–950 ramp

primary
#978FD2
secondary
#E6E8D5
accent
#B630A6
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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