#978DFE#978DFE

#978DFE is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.2% C 0.162 H 285.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#978DFE
RGBrgb(151, 141, 254)
HSLhsl(245, 98%, 77%)
HSVhsv(245, 44%, 100%)
CMYKcmyk(40.6%, 44.5%, 0%, 0.4%)
CIE-LABlab(63.99, 30.47, -55.17)
CIE-LCHlch(63.99, 63.02, 298.91°)
OKLaboklab(70.16% 0.0431 -0.1559)
OKLCHoklch(70.16% 0.162 285.5)
XYZxyz(40.1717, 32.7833, 97.9579)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DFE #F4FE8D
analogous
#8DBBFE #978DFE #D08DFE
triadic
#978DFE #FE978D #8DFE97
tetradic
#978DFE #FE8DBB #F4FE8D #8DFED0
square
#978DFE #FE8DBB #F4FE8D #8DFED0
split-complementary
#978DFE #FED08D #BBFE8D
monochromatic
#2814FD #6050FD #978DFE #CECAFF #E3E1FF

Accessibility & contrast

On white

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

On black

7.56
#978DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DFE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DFE#FFFFFF#000000##000000
##978DFE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#79A4B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978dfe;
/* rgb */ color: rgb(151, 141, 254);
/* oklch */ color: oklch(70.2% 0.162 285.5);
Tailwind
colors: {
  custom: {
    50: '#baaeff',
    500: '#978dfe',
    950: '#000000',
  },
}
SCSS
$custom: #978dfe;
$custom-light: #baaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#978dfe",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 245.31,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70155,
    "c": 0.16178,
    "h": 285.5
  },
  "luminance": 0.32785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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