#978BF4#978BF4

#978BF4 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.151 H 287.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#978BF4
RGBrgb(151, 139, 244)
HSLhsl(247, 83%, 75%)
HSVhsv(247, 43%, 96%)
CMYKcmyk(38.1%, 43%, 0%, 4.3%)
CIE-LABlab(62.99, 28.90, -51.26)
CIE-LCHlch(62.99, 58.85, 299.41°)
OKLaboklab(69.24% 0.0442 -0.1445)
OKLCHoklch(69.24% 0.151 287)
XYZxyz(38.3197, 31.5750, 89.6460)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF4 #E8F48B
analogous
#8BB4F4 #978BF4 #CB8BF4
triadic
#978BF4 #F4978B #8BF497
tetradic
#978BF4 #F48BB4 #E8F48B #8BF4CB
square
#978BF4 #F48BB4 #E8F48B #8BF4CB
split-complementary
#978BF4 #F4CB8B #B4F48B
monochromatic
#331BE9 #6553EF #978BF4 #C9C3F9 #E6E3FC

Accessibility & contrast

On white

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

On black

7.32
#978BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF4#FFFFFF#000000##000000
##978BF41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6596F2
Tritanopia (blue-blind)
#7EA0B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978bf4;
/* rgb */ color: rgb(151, 139, 244);
/* oklch */ color: oklch(69.2% 0.151 287.0);
Tailwind
colors: {
  custom: {
    50: '#b9adf8',
    500: '#978bf4',
    950: '#000000',
  },
}
SCSS
$custom: #978bf4;
$custom-light: #b9adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf4",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 246.857,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.15111,
    "h": 287
  },
  "luminance": 0.31576
}

Semantic roles & 50–950 ramp

primary
#978BF4
secondary
#F1F4D7
accent
#DF06C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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