#978ECA#978ECA

#978ECA is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.7% C 0.088 H 290.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#978ECA
RGBrgb(151, 142, 202)
HSLhsl(249, 36%, 67%)
HSVhsv(249, 30%, 79%)
CMYKcmyk(25.2%, 29.7%, 0%, 20.8%)
CIE-LABlab(61.82, 16.34, -29.75)
CIE-LCHlch(61.82, 33.94, 298.77°)
OKLaboklab(67.71% 0.0311 -0.0823)
OKLCHoklch(67.71% 0.088 290.7)
XYZxyz(33.0936, 30.1891, 59.9492)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ECA #C1CA8E
analogous
#8EA3CA #978ECA #B58ECA
triadic
#978ECA #CA978E #8ECA97
tetradic
#978ECA #CA8EA3 #C1CA8E #8ECAB5
square
#978ECA #CA8EA3 #C1CA8E #8ECAB5
split-complementary
#978ECA #CAB58E #A3CA8E
monochromatic
#534797 #7164B6 #978ECA #BDB8DE #E4E1F1

Accessibility & contrast

On white

2.98
#978ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#978ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978ECA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ECA#FFFFFF#000000##000000
##978ECA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CC
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#8C98A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978eca;
/* rgb */ color: rgb(151, 142, 202);
/* oklch */ color: oklch(67.7% 0.088 290.7);
Tailwind
colors: {
  custom: {
    50: '#b6afda',
    500: '#978eca',
    950: '#000000',
  },
}
SCSS
$custom: #978eca;
$custom-light: #b6afda;
$custom-dark: #000000;
JSON
{
  "hex": "#978eca",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 249,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.08798,
    "h": 290.7
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#978ECA
secondary
#E0E3D1
accent
#AF369D
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111015
muted
#807F83

Preview Lab

Preview with #978ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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