#978CFC#978CFC

#978CFC is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.9% C 0.160 H 285.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#978CFC
RGBrgb(151, 140, 252)
HSLhsl(246, 95%, 77%)
HSVhsv(246, 44%, 99%)
CMYKcmyk(40.1%, 44.4%, 0%, 1.2%)
CIE-LABlab(63.64, 30.49, -54.62)
CIE-LCHlch(63.64, 62.56, 299.17°)
OKLaboklab(69.86% 0.0441 -0.1543)
OKLCHoklch(69.86% 0.16 285.9)
XYZxyz(39.7063, 32.3623, 96.2310)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CFC #F1FC8C
analogous
#8CB9FC #978CFC #CF8CFC
triadic
#978CFC #FC978C #8CFC97
tetradic
#978CFC #FC8CB9 #F1FC8C #8CFCCF
square
#978CFC #FC8CB9 #F1FC8C #8CFCCF
split-complementary
#978CFC #FCCF8C #B9FC8C
monochromatic
#2B15F9 #6150FA #978CFC #CDC8FE #E4E1FE

Accessibility & contrast

On white

2.81
#978CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#978CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CFC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CFC#FFFFFF#000000##000000
##978CFC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#7AA2B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978cfc;
/* rgb */ color: rgb(151, 140, 252);
/* oklch */ color: oklch(69.9% 0.160 285.9);
Tailwind
colors: {
  custom: {
    50: '#baadfe',
    500: '#978cfc',
    950: '#000000',
  },
}
SCSS
$custom: #978cfc;
$custom-light: #baadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#978cfc",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 245.893,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69861,
    "c": 0.16049,
    "h": 285.9
  },
  "luminance": 0.32364
}

Semantic roles & 50–950 ramp

primary
#978CFC
secondary
#F3F6D5
accent
#E600CF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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