#978EEC#978EEC

#978EEC is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.136 H 286.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#978EEC
RGBrgb(151, 142, 236)
HSLhsl(246, 71%, 74%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(36%, 39.8%, 0%, 7.5%)
CIE-LABlab(63.33, 25.03, -46.32)
CIE-LCHlch(63.33, 52.65, 298.38°)
OKLaboklab(69.36% 0.039 -0.1301)
OKLCHoklch(69.36% 0.136 286.7)
XYZxyz(37.5717, 31.9803, 83.5339)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EEC #E3EC8E
analogous
#8EB4EC #978EEC #C68EEC
triadic
#978EEC #EC978E #8EEC97
tetradic
#978EEC #EC8EB4 #E3EC8E #8EECC6
square
#978EEC #EC8EB4 #E3EC8E #8EECC6
split-complementary
#978EEC #ECC68E #B4EC8E
monochromatic
#3725DA #675AE3 #978EEC #C7C2F5 #E7E5FB

Accessibility & contrast

On white

2.84
#978EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#978EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EEC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EEC#FFFFFF#000000##000000
##978EEC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#81A0B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978eec;
/* rgb */ color: rgb(151, 142, 236);
/* oklch */ color: oklch(69.4% 0.136 286.7);
Tailwind
colors: {
  custom: {
    50: '#b8aff2',
    500: '#978eec',
    950: '#000000',
  },
}
SCSS
$custom: #978eec;
$custom-light: #b8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#978eec",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 245.745,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.13581,
    "h": 286.7
  },
  "luminance": 0.31981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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