#978CFD#978CFD

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

Color values

HEX#978CFD
RGBrgb(151, 140, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 45%, 99%)
CMYKcmyk(40.3%, 44.7%, 0%, 0.8%)
CIE-LABlab(63.69, 30.77, -55.08)
CIE-LCHlch(63.69, 63.09, 299.19°)
OKLaboklab(69.92% 0.0442 -0.1557)
OKLCHoklch(69.92% 0.162 285.9)
XYZxyz(39.8652, 32.4259, 97.0678)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CFD #F2FD8C
analogous
#8CBAFD #978CFD #D08CFD
triadic
#978CFD #FD978C #8CFD97
tetradic
#978CFD #FD8CBA #F2FD8C #8CFDD0
square
#978CFD #FD8CBA #F2FD8C #8CFDD0
split-complementary
#978CFD #FDD08C #BAFD8C
monochromatic
#2A14FB #6150FC #978CFD #CDC8FE #E4E1FE

Accessibility & contrast

On white

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

On black

7.49
#978CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CFD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CFD#FFFFFF#000000##000000
##978CFD1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#79A3B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978cfd;
/* rgb */ color: rgb(151, 140, 253);
/* oklch */ color: oklch(69.9% 0.162 285.9);
Tailwind
colors: {
  custom: {
    50: '#baadfe',
    500: '#978cfd',
    950: '#000000',
  },
}
SCSS
$custom: #978cfd;
$custom-light: #baadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#978cfd",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 245.841,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.16184,
    "h": 285.9
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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