#978BDF#978BDF

#978BDF is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.122 H 289.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#978BDF
RGBrgb(151, 139, 223)
HSLhsl(249, 57%, 71%)
HSVhsv(249, 38%, 87%)
CMYKcmyk(32.3%, 37.7%, 0%, 12.5%)
CIE-LABlab(61.97, 23.35, -41.25)
CIE-LCHlch(61.97, 47.40, 299.51°)
OKLaboklab(68.13% 0.0404 -0.1154)
OKLCHoklch(68.13% 0.122 289.3)
XYZxyz(35.3109, 30.3714, 73.7996)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BDF #D3DF8B
analogous
#8BA9DF #978BDF #C18BDF
triadic
#978BDF #DF978B #8BDF97
tetradic
#978BDF #DF8BA9 #D3DF8B #8BDFC1
square
#978BDF #DF8BA9 #D3DF8B #8BDFC1
split-complementary
#978BDF #DFC18B #A9DF8B
monochromatic
#4734BC #6C5BD2 #978BDF #C2BBEC #E9E7F8

Accessibility & contrast

On white

2.97
#978BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#978BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BDF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BDF#FFFFFF#000000##000000
##978BDF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#869AAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978bdf;
/* rgb */ color: rgb(151, 139, 223);
/* oklch */ color: oklch(68.1% 0.122 289.3);
Tailwind
colors: {
  custom: {
    50: '#b8ade9',
    500: '#978bdf',
    950: '#000000',
  },
}
SCSS
$custom: #978bdf;
$custom-light: #b8ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bdf",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 248.571,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.12222,
    "h": 289.3
  },
  "luminance": 0.30372
}

Semantic roles & 50–950 ramp

primary
#978BDF
secondary
#EBEED8
accent
#C421AD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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