#978FE4#978FE4

#978FE4 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.1% C 0.123 H 287.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#978FE4
RGBrgb(151, 143, 228)
HSLhsl(246, 61%, 73%)
HSVhsv(246, 37%, 89%)
CMYKcmyk(33.8%, 37.3%, 0%, 10.6%)
CIE-LABlab(63.20, 22.34, -42.10)
CIE-LCHlch(63.20, 47.66, 297.96°)
OKLaboklab(69.14% 0.0361 -0.1178)
OKLCHoklch(69.14% 0.123 287)
XYZxyz(36.5848, 31.8247, 77.5990)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FE4 #DCE48F
analogous
#8FB1E4 #978FE4 #C18FE4
triadic
#978FE4 #E4978F #8FE497
tetradic
#978FE4 #E48FB1 #DCE48F #8FE4C1
square
#978FE4 #E48FB1 #DCE48F #8FE4C1
split-complementary
#978FE4 #E4C18F #B1E48F
monochromatic
#3F30C8 #695ED8 #978FE4 #C5C0F0 #E8E6F9

Accessibility & contrast

On white

2.85
#978FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#978FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FE4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FE4#FFFFFF#000000##000000
##978FE41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE7
Deuteranopia (green-blind)
#7497E2
Tritanopia (blue-blind)
#839FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978fe4;
/* rgb */ color: rgb(151, 143, 228);
/* oklch */ color: oklch(69.1% 0.123 287.0);
Tailwind
colors: {
  custom: {
    50: '#b8afed',
    500: '#978fe4',
    950: '#000000',
  },
}
SCSS
$custom: #978fe4;
$custom-light: #b8afed;
$custom-dark: #000000;
JSON
{
  "hex": "#978fe4",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 245.647,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.12324,
    "h": 287
  },
  "luminance": 0.31826
}

Semantic roles & 50–950 ramp

primary
#978FE4
secondary
#EEF0DB
accent
#C91DB9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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