#978EF8#978EF8

#978EF8 is a light, vivid blue. Relative luminance 0.327; OKLCH L 70.0% C 0.152 H 285.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#978EF8
RGBrgb(151, 142, 248)
HSLhsl(245, 88%, 76%)
HSVhsv(245, 43%, 97%)
CMYKcmyk(39.1%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.92, 28.25, -51.99)
CIE-LCHlch(63.92, 59.17, 298.52°)
OKLaboklab(70% 0.041 -0.1466)
OKLCHoklch(70% 0.152 285.6)
XYZxyz(39.3740, 32.7012, 93.0261)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EF8 #EFF88E
analogous
#8EBAF8 #978EF8 #CC8EF8
triadic
#978EF8 #F8978E #8EF897
tetradic
#978EF8 #F88EBA #EFF88E #8EF8CC
square
#978EF8 #F88EBA #EFF88E #8EF8CC
split-complementary
#978EF8 #F8CC8E #BAF88E
monochromatic
#2D1BF1 #6254F4 #978EF8 #CCC8FC #E4E2FD

Accessibility & contrast

On white

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

On black

7.54
#978EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EF8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EF8#FFFFFF#000000##000000
##978EF81.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#7CA3B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ef8;
/* rgb */ color: rgb(151, 142, 248);
/* oklch */ color: oklch(70.0% 0.152 285.6);
Tailwind
colors: {
  custom: {
    50: '#b9affb',
    500: '#978ef8',
    950: '#000000',
  },
}
SCSS
$custom: #978ef8;
$custom-light: #b9affb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ef8",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 245.094,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70004,
    "c": 0.15225,
    "h": 285.6
  },
  "luminance": 0.32703
}

Semantic roles & 50–950 ramp

primary
#978EF8
secondary
#F3F5D6
accent
#E501D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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