#978CE8#978CE8

#978CE8 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.8% C 0.133 H 287.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#978CE8
RGBrgb(151, 140, 232)
HSLhsl(247, 67%, 73%)
HSVhsv(247, 40%, 91%)
CMYKcmyk(34.9%, 39.7%, 0%, 9%)
CIE-LABlab(62.64, 25.12, -45.19)
CIE-LCHlch(62.64, 51.70, 299.07°)
OKLaboklab(68.78% 0.0408 -0.1268)
OKLCHoklch(68.78% 0.133 287.8)
XYZxyz(36.7021, 31.1607, 80.4091)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CE8 #DDE88C
analogous
#8CAFE8 #978CE8 #C58CE8
triadic
#978CE8 #E8978C #8CE897
tetradic
#978CE8 #E88CAF #DDE88C #8CE8C5
square
#978CE8 #E88CAF #DDE88C #8CE8C5
split-complementary
#978CE8 #E8C58C #AFE88C
monochromatic
#3D2AD0 #6959DE #978CE8 #C5BFF2 #E8E5FA

Accessibility & contrast

On white

2.90
#978CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#978CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CE8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CE8#FFFFFF#000000##000000
##978CE81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#6E95E6
Tritanopia (blue-blind)
#829DAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978ce8;
/* rgb */ color: rgb(151, 140, 232);
/* oklch */ color: oklch(68.8% 0.133 287.8);
Tailwind
colors: {
  custom: {
    50: '#b8adf0',
    500: '#978ce8',
    950: '#000000',
  },
}
SCSS
$custom: #978ce8;
$custom-light: #b8adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#978ce8",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 247.174,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68778,
    "c": 0.13321,
    "h": 287.8
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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