#978FE8#978FE8

#978FE8 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.3% C 0.129 H 286.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#978FE8
RGBrgb(151, 143, 232)
HSLhsl(245, 66%, 74%)
HSVhsv(245, 38%, 91%)
CMYKcmyk(34.9%, 38.4%, 0%, 9%)
CIE-LABlab(63.38, 23.39, -44.02)
CIE-LCHlch(63.38, 49.85, 297.99°)
OKLaboklab(69.34% 0.0369 -0.1234)
OKLCHoklch(69.34% 0.129 286.6)
XYZxyz(37.1465, 32.0494, 80.5573)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FE8 #E0E88F
analogous
#8FB3E8 #978FE8 #C38FE8
triadic
#978FE8 #E8978F #8FE897
tetradic
#978FE8 #E88FB3 #E0E88F #8FE8C3
square
#978FE8 #E88FB3 #E0E88F #8FE8C3
split-complementary
#978FE8 #E8C38F #B3E88F
monochromatic
#3A2BD2 #685CDE #978FE8 #C6C2F2 #E7E6FA

Accessibility & contrast

On white

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

On black

7.41
#978FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FE8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FE8#FFFFFF#000000##000000
##978FE81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#7197E6
Tritanopia (blue-blind)
#82A0B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978fe8;
/* rgb */ color: rgb(151, 143, 232);
/* oklch */ color: oklch(69.3% 0.129 286.6);
Tailwind
colors: {
  custom: {
    50: '#b8afef',
    500: '#978fe8',
    950: '#000000',
  },
}
SCSS
$custom: #978fe8;
$custom-light: #b8afef;
$custom-dark: #000000;
JSON
{
  "hex": "#978fe8",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 245.393,
    "s": 65.926,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.12881,
    "h": 286.6
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#978FE8
secondary
#EFF1DA
accent
#CE18BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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