#978FFE#978FFE

#978FFE is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.5% C 0.159 H 284.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#978FFE
RGBrgb(151, 143, 254)
HSLhsl(244, 98%, 78%)
HSVhsv(244, 44%, 100%)
CMYKcmyk(40.6%, 43.7%, 0%, 0.4%)
CIE-LABlab(64.47, 29.32, -54.40)
CIE-LCHlch(64.47, 61.80, 298.32°)
OKLaboklab(70.52% 0.0407 -0.1537)
OKLCHoklch(70.52% 0.159 284.8)
XYZxyz(40.4692, 33.3785, 98.0571)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FFE #F6FE8F
analogous
#8FBFFE #978FFE #CE8FFE
triadic
#978FFE #FE978F #8FFE97
tetradic
#978FFE #FE8FBF #F6FE8F #8FFECE
square
#978FFE #FE8FBF #F6FE8F #8FFECE
split-complementary
#978FFE #FECE8F #BFFE8F
monochromatic
#2616FD #5F52FD #978FFE #CFCCFF #E3E1FF

Accessibility & contrast

On white

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

On black

7.68
#978FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FFE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FFE#FFFFFF#000000##000000
##978FFE1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#79A5BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978ffe;
/* rgb */ color: rgb(151, 143, 254);
/* oklch */ color: oklch(70.5% 0.159 284.8);
Tailwind
colors: {
  custom: {
    50: '#baafff',
    500: '#978ffe',
    950: '#000000',
  },
}
SCSS
$custom: #978ffe;
$custom-light: #baafff;
$custom-dark: #000000;
JSON
{
  "hex": "#978ffe",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 244.324,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70519,
    "c": 0.15897,
    "h": 284.8
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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