#978FFD#978FFD

#978FFD is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.5% C 0.158 H 284.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#978FFD
RGBrgb(151, 143, 253)
HSLhsl(244, 96%, 78%)
HSVhsv(244, 43%, 99%)
CMYKcmyk(40.3%, 43.5%, 0%, 0.8%)
CIE-LABlab(64.41, 29.04, -53.94)
CIE-LCHlch(64.41, 61.26, 298.30°)
OKLaboklab(70.46% 0.0405 -0.1523)
OKLCHoklch(70.46% 0.158 284.9)
XYZxyz(40.3095, 33.3146, 97.2159)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FFD #F5FD8F
analogous
#8FBEFD #978FFD #CE8FFD
triadic
#978FFD #FD978F #8FFD97
tetradic
#978FFD #FD8FBE #F5FD8F #8FFDCE
square
#978FFD #FD8FBE #F5FD8F #8FFDCE
split-complementary
#978FFD #FDCE8F #BEFD8F
monochromatic
#2717FB #5F53FC #978FFD #CFCBFE #E3E1FE

Accessibility & contrast

On white

2.74
#978FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#978FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FFD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FFD#FFFFFF#000000##000000
##978FFD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#79A5BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978ffd;
/* rgb */ color: rgb(151, 143, 253);
/* oklch */ color: oklch(70.5% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#baaffe',
    500: '#978ffd',
    950: '#000000',
  },
}
SCSS
$custom: #978ffd;
$custom-light: #baaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#978ffd",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 244.364,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.15762,
    "h": 284.9
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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