#978CED#978CED

#978CED is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.0% C 0.140 H 287.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#978CED
RGBrgb(151, 140, 237)
HSLhsl(247, 73%, 74%)
HSVhsv(247, 41%, 93%)
CMYKcmyk(36.3%, 40.9%, 0%, 7.1%)
CIE-LABlab(62.88, 26.45, -47.57)
CIE-LCHlch(62.88, 54.43, 299.07°)
OKLaboklab(69.04% 0.0417 -0.1337)
OKLCHoklch(69.04% 0.14 287.3)
XYZxyz(37.4225, 31.4488, 84.2029)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CED #E2ED8C
analogous
#8CB2ED #978CED #C88CED
triadic
#978CED #ED978C #8CED97
tetradic
#978CED #ED8CB2 #E2ED8C #8CEDC8
square
#978CED #ED8CB2 #E2ED8C #8CEDC8
split-complementary
#978CED #EDC88C #B2ED8C
monochromatic
#3822DC #6757E5 #978CED #C7C1F5 #E7E5FB

Accessibility & contrast

On white

2.88
#978CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#978CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CED
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CED#FFFFFF#000000##000000
##978CED1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF1
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#809FB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978ced;
/* rgb */ color: rgb(151, 140, 237);
/* oklch */ color: oklch(69.0% 0.140 287.3);
Tailwind
colors: {
  custom: {
    50: '#b9adf3',
    500: '#978ced',
    950: '#000000',
  },
}
SCSS
$custom: #978ced;
$custom-light: #b9adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#978ced",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 246.804,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.1401,
    "h": 287.3
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#978CED
secondary
#F0F3D8
accent
#D510BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978CED

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

Preview Lab → · Contrast checker → · Palette generator →

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