#978CFE#978CFE

#978CFE is a light, vivid blue. Relative luminance 0.325; OKLCH L 70.0% C 0.163 H 285.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#978CFE
RGBrgb(151, 140, 254)
HSLhsl(246, 98%, 77%)
HSVhsv(246, 45%, 100%)
CMYKcmyk(40.6%, 44.9%, 0%, 0.4%)
CIE-LABlab(63.75, 31.04, -55.55)
CIE-LCHlch(63.75, 63.63, 299.20°)
OKLaboklab(69.97% 0.0444 -0.157)
OKLCHoklch(69.97% 0.163 285.8)
XYZxyz(40.0249, 32.4898, 97.9090)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CFE #F3FE8C
analogous
#8CBAFE #978CFE #D08CFE
triadic
#978CFE #FE978C #8CFE97
tetradic
#978CFE #FE8CBA #F3FE8C #8CFED0
square
#978CFE #FE8CBA #F3FE8C #8CFED0
split-complementary
#978CFE #FED08C #BAFE8C
monochromatic
#2913FD #604FFD #978CFE #CEC9FF #E4E1FF

Accessibility & contrast

On white

2.80
#978CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#978CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CFE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CFE#FFFFFF#000000##000000
##978CFE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#79A3B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978cfe;
/* rgb */ color: rgb(151, 140, 254);
/* oklch */ color: oklch(70.0% 0.163 285.8);
Tailwind
colors: {
  custom: {
    50: '#baadff',
    500: '#978cfe',
    950: '#000000',
  },
}
SCSS
$custom: #978cfe;
$custom-light: #baadff;
$custom-dark: #000000;
JSON
{
  "hex": "#978cfe",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 245.789,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69974,
    "c": 0.16318,
    "h": 285.8
  },
  "luminance": 0.32491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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