#978CEC#978CEC

#978CEC is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.0% C 0.139 H 287.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#978CEC
RGBrgb(151, 140, 236)
HSLhsl(247, 72%, 74%)
HSVhsv(247, 41%, 93%)
CMYKcmyk(36%, 40.7%, 0%, 7.5%)
CIE-LABlab(62.84, 26.18, -47.09)
CIE-LCHlch(62.84, 53.88, 299.07°)
OKLaboklab(68.99% 0.0416 -0.1323)
OKLCHoklch(68.99% 0.139 287.4)
XYZxyz(37.2768, 31.3905, 83.4356)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CEC #E1EC8C
analogous
#8CB1EC #978CEC #C78CEC
triadic
#978CEC #EC978C #8CEC97
tetradic
#978CEC #EC8CB1 #E1EC8C #8CECC7
square
#978CEC #EC8CB1 #E1EC8C #8CECC7
split-complementary
#978CEC #ECC78C #B1EC8C
monochromatic
#3924DA #6757E3 #978CEC #C6C1F5 #E7E5FB

Accessibility & contrast

On white

2.89
#978CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#978CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CEC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CEC#FFFFFF#000000##000000
##978CEC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#6B96EA
Tritanopia (blue-blind)
#819EB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978cec;
/* rgb */ color: rgb(151, 140, 236);
/* oklch */ color: oklch(69.0% 0.139 287.4);
Tailwind
colors: {
  custom: {
    50: '#b8adf2',
    500: '#978cec',
    950: '#000000',
  },
}
SCSS
$custom: #978cec;
$custom-light: #b8adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#978cec",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 246.875,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68988,
    "c": 0.13872,
    "h": 287.4
  },
  "luminance": 0.31392
}

Semantic roles & 50–950 ramp

primary
#978CEC
secondary
#EFF2D9
accent
#D412BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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