#978DF4#978DF4

#978DF4 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.148 H 286.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#978DF4
RGBrgb(151, 141, 244)
HSLhsl(246, 82%, 75%)
HSVhsv(246, 42%, 96%)
CMYKcmyk(38.1%, 42.2%, 0%, 4.3%)
CIE-LABlab(63.47, 27.75, -50.49)
CIE-LCHlch(63.47, 57.62, 298.79°)
OKLaboklab(69.6% 0.0416 -0.1423)
OKLCHoklch(69.6% 0.148 286.3)
XYZxyz(38.6120, 32.1594, 89.7434)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DF4 #EAF48D
analogous
#8DB6F4 #978DF4 #CA8DF4
triadic
#978DF4 #F4978D #8DF497
tetradic
#978DF4 #F48DB6 #EAF48D #8DF4CA
square
#978DF4 #F48DB6 #EAF48D #8DF4CA
split-complementary
#978DF4 #F4CA8D #B6F48D
monochromatic
#311DE9 #6455EF #978DF4 #CAC5F9 #E6E3FC

Accessibility & contrast

On white

2.83
#978DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#978DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DF4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DF4#FFFFFF#000000##000000
##978DF41.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF8
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#7DA1B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978df4;
/* rgb */ color: rgb(151, 141, 244);
/* oklch */ color: oklch(69.6% 0.148 286.3);
Tailwind
colors: {
  custom: {
    50: '#b9aef8',
    500: '#978df4',
    950: '#000000',
  },
}
SCSS
$custom: #978df4;
$custom-light: #b9aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#978df4",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 245.825,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.14823,
    "h": 286.3
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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