#978FEE#978FEE

#978FEE is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.7% C 0.137 H 286.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#978FEE
RGBrgb(151, 143, 238)
HSLhsl(245, 74%, 75%)
HSVhsv(245, 40%, 93%)
CMYKcmyk(36.6%, 39.9%, 0%, 6.7%)
CIE-LABlab(63.67, 24.98, -46.88)
CIE-LCHlch(63.67, 53.13, 298.05°)
OKLaboklab(69.65% 0.0381 -0.1317)
OKLCHoklch(69.65% 0.137 286.1)
XYZxyz(38.0133, 32.3961, 85.1226)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FEE #E6EE8F
analogous
#8FB6EE #978FEE #C78FEE
triadic
#978FEE #EE978F #8FEE97
tetradic
#978FEE #EE8FB6 #E6EE8F #8FEEC7
square
#978FEE #EE8FB6 #E6EE8F #8FEEC7
split-complementary
#978FEE #EEC78F #B6EE8F
monochromatic
#3425DE #665AE6 #978FEE #C8C4F6 #E6E4FB

Accessibility & contrast

On white

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

On black

7.48
#978FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FEE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FEE#FFFFFF#000000##000000
##978FEE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#80A1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978fee;
/* rgb */ color: rgb(151, 143, 238);
/* oklch */ color: oklch(69.7% 0.137 286.1);
Tailwind
colors: {
  custom: {
    50: '#b9aff4',
    500: '#978fee',
    950: '#000000',
  },
}
SCSS
$custom: #978fee;
$custom-light: #b9aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#978fee",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 245.053,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.13712,
    "h": 286.1
  },
  "luminance": 0.32397
}

Semantic roles & 50–950 ramp

primary
#978FEE
secondary
#F0F3D8
accent
#D610C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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