#978EF9#978EF9

#978EF9 is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.1% C 0.154 H 285.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#978EF9
RGBrgb(151, 142, 249)
HSLhsl(245, 90%, 77%)
HSVhsv(245, 43%, 98%)
CMYKcmyk(39.4%, 43%, 0%, 2.4%)
CIE-LABlab(63.97, 28.53, -52.46)
CIE-LCHlch(63.97, 59.71, 298.54°)
OKLaboklab(70.06% 0.0412 -0.148)
OKLCHoklch(70.06% 0.154 285.5)
XYZxyz(39.5296, 32.7635, 93.8454)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EF9 #F0F98E
analogous
#8EBBF9 #978EF9 #CD8EF9
triadic
#978EF9 #F9978E #8EF997
tetradic
#978EF9 #F98EBB #F0F98E #8EF9CD
square
#978EF9 #F98EBB #F0F98E #8EF9CD
split-complementary
#978EF9 #F9CD8E #BBF98E
monochromatic
#2C1AF3 #6254F6 #978EF9 #CCC8FC #E4E2FD

Accessibility & contrast

On white

2.78
#978EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#978EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EF9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EF9#FFFFFF#000000##000000
##978EF91.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#7BA3B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ef9;
/* rgb */ color: rgb(151, 142, 249);
/* oklch */ color: oklch(70.1% 0.154 285.5);
Tailwind
colors: {
  custom: {
    50: '#b9affc',
    500: '#978ef9',
    950: '#000000',
  },
}
SCSS
$custom: #978ef9;
$custom-light: #b9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#978ef9",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 245.047,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.15361,
    "h": 285.5
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#978EF9
secondary
#F3F6D5
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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