#978BF5#978BF5

#978BF5 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.3% C 0.152 H 286.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#978BF5
RGBrgb(151, 139, 245)
HSLhsl(247, 84%, 75%)
HSVhsv(247, 43%, 96%)
CMYKcmyk(38.4%, 43.3%, 0%, 3.9%)
CIE-LABlab(63.04, 29.17, -51.73)
CIE-LCHlch(63.04, 59.39, 299.42°)
OKLaboklab(69.29% 0.0443 -0.1459)
OKLCHoklch(69.29% 0.152 286.9)
XYZxyz(38.4720, 31.6359, 90.4478)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF5 #E9F58B
analogous
#8BB4F5 #978BF5 #CC8BF5
triadic
#978BF5 #F5978B #8BF597
tetradic
#978BF5 #F58BB4 #E9F58B #8BF5CC
square
#978BF5 #F58BB4 #E9F58B #8BF5CC
split-complementary
#978BF5 #F5CC8B #B4F58B
monochromatic
#321AEB #6453F0 #978BF5 #CAC3FA #E6E3FD

Accessibility & contrast

On white

2.87
#978BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#978BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF5#FFFFFF#000000##000000
##978BF51.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#7DA0B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978bf5;
/* rgb */ color: rgb(151, 139, 245);
/* oklch */ color: oklch(69.3% 0.152 286.9);
Tailwind
colors: {
  custom: {
    50: '#b9adf9',
    500: '#978bf5',
    950: '#000000',
  },
}
SCSS
$custom: #978bf5;
$custom-light: #b9adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf5",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 246.792,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.15246,
    "h": 286.9
  },
  "luminance": 0.31637
}

Semantic roles & 50–950 ramp

primary
#978BF5
secondary
#F1F5D6
accent
#E105C8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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