#978AF4#978AF4

#978AF4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.1% C 0.153 H 287.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#978AF4
RGBrgb(151, 138, 244)
HSLhsl(247, 83%, 75%)
HSVhsv(247, 43%, 96%)
CMYKcmyk(38.1%, 43.4%, 0%, 4.3%)
CIE-LABlab(62.75, 29.47, -51.64)
CIE-LCHlch(62.75, 59.46, 299.71°)
OKLaboklab(69.05% 0.0454 -0.1456)
OKLCHoklch(69.05% 0.153 287.3)
XYZxyz(38.1756, 31.2867, 89.5979)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AF4 #E7F48A
analogous
#8AB2F4 #978AF4 #CC8AF4
triadic
#978AF4 #F4978A #8AF497
tetradic
#978AF4 #F48AB2 #E7F48A #8AF4CC
square
#978AF4 #F48AB2 #E7F48A #8AF4CC
split-complementary
#978AF4 #F4CC8A #B2F48A
monochromatic
#341AE9 #6552EF #978AF4 #C9C2F9 #E6E3FC

Accessibility & contrast

On white

2.89
#978AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#978AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AF4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AF4#FFFFFF#000000##000000
##978AF41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF8
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#7E9FB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978af4;
/* rgb */ color: rgb(151, 138, 244);
/* oklch */ color: oklch(69.1% 0.153 287.3);
Tailwind
colors: {
  custom: {
    50: '#b9acf8',
    500: '#978af4',
    950: '#000000',
  },
}
SCSS
$custom: #978af4;
$custom-light: #b9acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#978af4",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 247.358,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69052,
    "c": 0.15255,
    "h": 287.3
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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