#978DF8#978DF8

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

Color values

HEX#978DF8
RGBrgb(151, 141, 248)
HSLhsl(246, 88%, 76%)
HSVhsv(246, 43%, 97%)
CMYKcmyk(39.1%, 43.1%, 0%, 2.7%)
CIE-LABlab(63.68, 28.83, -52.37)
CIE-LCHlch(63.68, 59.78, 298.83°)
OKLaboklab(69.82% 0.0423 -0.1477)
OKLCHoklch(69.82% 0.154 286)
XYZxyz(39.2259, 32.4050, 92.9768)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DF8 #EEF88D
analogous
#8DB9F8 #978DF8 #CD8DF8
triadic
#978DF8 #F8978D #8DF897
tetradic
#978DF8 #F88DB9 #EEF88D #8DF8CD
square
#978DF8 #F88DB9 #EEF88D #8DF8CD
split-complementary
#978DF8 #F8CD8D #B9F88D
monochromatic
#2E1AF1 #6253F4 #978DF8 #CCC7FC #E5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978DF8#FFFFFF#000000##000000
##978DF81.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)
#679DFC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#7CA2B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978df8;
/* rgb */ color: rgb(151, 141, 248);
/* oklch */ color: oklch(69.8% 0.154 286.0);
Tailwind
colors: {
  custom: {
    50: '#b9aefb',
    500: '#978df8',
    950: '#000000',
  },
}
SCSS
$custom: #978df8;
$custom-light: #b9aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#978df8",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 245.607,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.15367,
    "h": 286
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#978DF8
secondary
#F2F5D6
accent
#E500D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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