#978DFD#978DFD

#978DFD is a light, vivid blue. Relative luminance 0.327; OKLCH L 70.1% C 0.160 H 285.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#978DFD
RGBrgb(151, 141, 253)
HSLhsl(245, 97%, 77%)
HSVhsv(245, 44%, 99%)
CMYKcmyk(40.3%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.93, 30.19, -54.70)
CIE-LCHlch(63.93, 62.48, 298.90°)
OKLaboklab(70.1% 0.043 -0.1546)
OKLCHoklch(70.1% 0.16 285.5)
XYZxyz(40.0120, 32.7194, 97.1167)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DFD #F3FD8D
analogous
#8DBBFD #978DFD #CF8DFD
triadic
#978DFD #FD978D #8DFD97
tetradic
#978DFD #FD8DBB #F3FD8D #8DFDCF
square
#978DFD #FD8DBB #F3FD8D #8DFDCF
split-complementary
#978DFD #FDCF8D #BBFD8D
monochromatic
#2915FB #6051FC #978DFD #CEC9FE #E4E1FE

Accessibility & contrast

On white

2.78
#978DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#978DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DFD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DFD#FFFFFF#000000##000000
##978DFD1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#79A3B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978dfd;
/* rgb */ color: rgb(151, 141, 253);
/* oklch */ color: oklch(70.1% 0.160 285.5);
Tailwind
colors: {
  custom: {
    50: '#baaefe',
    500: '#978dfd',
    950: '#000000',
  },
}
SCSS
$custom: #978dfd;
$custom-light: #baaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#978dfd",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 245.357,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70099,
    "c": 0.16044,
    "h": 285.5
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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