#978CE2#978CE2

#978CE2 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.125 H 288.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#978CE2
RGBrgb(151, 140, 226)
HSLhsl(248, 60%, 72%)
HSVhsv(248, 38%, 89%)
CMYKcmyk(33.2%, 38.1%, 0%, 11.4%)
CIE-LABlab(62.36, 23.55, -42.31)
CIE-LCHlch(62.36, 48.42, 299.10°)
OKLaboklab(68.47% 0.0397 -0.1184)
OKLCHoklch(68.47% 0.125 288.5)
XYZxyz(35.8644, 30.8256, 75.9971)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CE2 #D7E28C
analogous
#8CACE2 #978CE2 #C28CE2
triadic
#978CE2 #E2978C #8CE297
tetradic
#978CE2 #E28CAC #D7E28C #8CE2C2
square
#978CE2 #E28CAC #D7E28C #8CE2C2
split-complementary
#978CE2 #E2C28C #ACE28C
monochromatic
#4431C3 #6B5BD6 #978CE2 #C3BDEE #E9E7F9

Accessibility & contrast

On white

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

On black

7.17
#978CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CE2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CE2#FFFFFF#000000##000000
##978CE21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E5
Deuteranopia (green-blind)
#7195E0
Tritanopia (blue-blind)
#849CAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ce2;
/* rgb */ color: rgb(151, 140, 226);
/* oklch */ color: oklch(68.5% 0.125 288.5);
Tailwind
colors: {
  custom: {
    50: '#b8adeb',
    500: '#978ce2',
    950: '#000000',
  },
}
SCSS
$custom: #978ce2;
$custom-light: #b8adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ce2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 247.674,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6847,
    "c": 0.1249,
    "h": 288.5
  },
  "luminance": 0.30826
}

Semantic roles & 50–950 ramp

primary
#978CE2
secondary
#EDF0DA
accent
#C71EB2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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