#978BF8#978BF8

#978BF8 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.5% C 0.157 H 286.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#978BF8
RGBrgb(151, 139, 248)
HSLhsl(247, 89%, 76%)
HSVhsv(247, 44%, 97%)
CMYKcmyk(39.1%, 44%, 0%, 2.7%)
CIE-LABlab(63.19, 29.98, -53.14)
CIE-LCHlch(63.19, 61.01, 299.43°)
OKLaboklab(69.46% 0.0448 -0.15)
OKLCHoklch(69.46% 0.157 286.6)
XYZxyz(38.9337, 31.8205, 92.8793)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF8 #ECF88B
analogous
#8BB5F8 #978BF8 #CE8BF8
triadic
#978BF8 #F8978B #8BF897
tetradic
#978BF8 #F88BB5 #ECF88B #8BF8CE
square
#978BF8 #F88BB5 #ECF88B #8BF8CE
split-complementary
#978BF8 #F8CE8B #B5F88B
monochromatic
#3018F1 #6351F5 #978BF8 #CBC5FB #E5E2FD

Accessibility & contrast

On white

2.85
#978BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#978BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF8#FFFFFF#000000##000000
##978BF81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#7CA1B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978bf8;
/* rgb */ color: rgb(151, 139, 248);
/* oklch */ color: oklch(69.5% 0.157 286.6);
Tailwind
colors: {
  custom: {
    50: '#b9adfb',
    500: '#978bf8',
    950: '#000000',
  },
}
SCSS
$custom: #978bf8;
$custom-light: #b9adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf8",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 246.606,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.15653,
    "h": 286.6
  },
  "luminance": 0.31822
}

Semantic roles & 50–950 ramp

primary
#978BF8
secondary
#F2F5D6
accent
#E500CC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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