#978CDF#978CDF

#978CDF is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.121 H 288.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#978CDF
RGBrgb(151, 140, 223)
HSLhsl(248, 56%, 71%)
HSVhsv(248, 37%, 87%)
CMYKcmyk(32.3%, 37.2%, 0%, 12.5%)
CIE-LABlab(62.22, 22.77, -40.86)
CIE-LCHlch(62.22, 46.77, 299.13°)
OKLaboklab(68.32% 0.039 -0.1142)
OKLCHoklch(68.32% 0.121 288.9)
XYZxyz(35.4564, 30.6623, 73.8481)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CDF #D4DF8C
analogous
#8CAADF #978CDF #C08CDF
triadic
#978CDF #DF978C #8CDF97
tetradic
#978CDF #DF8CAA #D4DF8C #8CDFC0
square
#978CDF #DF8CAA #D4DF8C #8CDFC0
split-complementary
#978CDF #DFC08C #AADF8C
monochromatic
#4634BC #6C5CD2 #978CDF #C2BCEC #E9E7F8

Accessibility & contrast

On white

2.94
#978CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978CDF#FFFFFF#000000##000000
##978CDF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7394DD
Tritanopia (blue-blind)
#869BAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978cdf;
/* rgb */ color: rgb(151, 140, 223);
/* oklch */ color: oklch(68.3% 0.121 288.9);
Tailwind
colors: {
  custom: {
    50: '#b8ade9',
    500: '#978cdf',
    950: '#000000',
  },
}
SCSS
$custom: #978cdf;
$custom-light: #b8ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#978cdf",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 247.952,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.12071,
    "h": 288.9
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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