#978EF4#978EF4

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

Color values

HEX#978EF4
RGBrgb(151, 142, 244)
HSLhsl(245, 82%, 76%)
HSVhsv(245, 42%, 96%)
CMYKcmyk(38.1%, 41.8%, 0%, 4.3%)
CIE-LABlab(63.72, 27.17, -50.11)
CIE-LCHlch(63.72, 57.00, 298.47°)
OKLaboklab(69.79% 0.0404 -0.1411)
OKLCHoklch(69.79% 0.147 286)
XYZxyz(38.7601, 32.4557, 89.7928)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EF4 #EBF48E
analogous
#8EB8F4 #978EF4 #CA8EF4
triadic
#978EF4 #F4978E #8EF497
tetradic
#978EF4 #F48EB8 #EBF48E #8EF4CA
square
#978EF4 #F48EB8 #EBF48E #8EF4CA
split-complementary
#978EF4 #F4CA8E #B8F48E
monochromatic
#301EE9 #6456EF #978EF4 #CAC6F9 #E5E3FC

Accessibility & contrast

On white

2.80
#978EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#978EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EF4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EF4#FFFFFF#000000##000000
##978EF41.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#6997F2
Tritanopia (blue-blind)
#7DA2B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978ef4;
/* rgb */ color: rgb(151, 142, 244);
/* oklch */ color: oklch(69.8% 0.147 286.0);
Tailwind
colors: {
  custom: {
    50: '#b9aff8',
    500: '#978ef4',
    950: '#000000',
  },
}
SCSS
$custom: #978ef4;
$custom-light: #b9aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#978ef4",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 245.294,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.1468,
    "h": 286
  },
  "luminance": 0.32457
}

Semantic roles & 50–950 ramp

primary
#978EF4
secondary
#F2F4D7
accent
#DF07CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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