#978DEC#978DEC

#978DEC is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.137 H 287.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#978DEC
RGBrgb(151, 141, 236)
HSLhsl(246, 71%, 74%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(36%, 40.3%, 0%, 7.5%)
CIE-LABlab(63.08, 25.60, -46.71)
CIE-LCHlch(63.08, 53.27, 298.73°)
OKLaboklab(69.17% 0.0403 -0.1312)
OKLCHoklch(69.17% 0.137 287.1)
XYZxyz(37.4236, 31.6841, 83.4845)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DEC #E2EC8D
analogous
#8DB3EC #978DEC #C78DEC
triadic
#978DEC #EC978D #8DEC97
tetradic
#978DEC #EC8DB3 #E2EC8D #8DECC7
square
#978DEC #EC8DB3 #E2EC8D #8DECC7
split-complementary
#978DEC #ECC78D #B3EC8D
monochromatic
#3824DA #6759E3 #978DEC #C7C1F5 #E7E5FB

Accessibility & contrast

On white

2.86
#978DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#978DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DEC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DEC#FFFFFF#000000##000000
##978DEC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#819FB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978dec;
/* rgb */ color: rgb(151, 141, 236);
/* oklch */ color: oklch(69.2% 0.137 287.1);
Tailwind
colors: {
  custom: {
    50: '#b8aef2',
    500: '#978dec',
    950: '#000000',
  },
}
SCSS
$custom: #978dec;
$custom-light: #b8aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#978dec",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 246.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69174,
    "c": 0.13727,
    "h": 287.1
  },
  "luminance": 0.31685
}

Semantic roles & 50–950 ramp

primary
#978DEC
secondary
#F0F2D9
accent
#D312BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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