#978BED#978BED

#978BED is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.9% C 0.142 H 287.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#978BED
RGBrgb(151, 139, 237)
HSLhsl(247, 73%, 74%)
HSVhsv(247, 41%, 93%)
CMYKcmyk(36.3%, 41.4%, 0%, 7.1%)
CIE-LABlab(62.64, 27.02, -47.95)
CIE-LCHlch(62.64, 55.04, 299.40°)
OKLaboklab(68.86% 0.043 -0.1349)
OKLCHoklch(68.86% 0.142 287.7)
XYZxyz(37.2770, 31.1579, 84.1544)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BED #E1ED8B
analogous
#8BB0ED #978BED #C88BED
triadic
#978BED #ED978B #8BED97
tetradic
#978BED #ED8BB0 #E1ED8B #8BEDC8
square
#978BED #ED8BB0 #E1ED8B #8BEDC8
split-complementary
#978BED #EDC88B #B0ED8B
monochromatic
#3922DC #6756E5 #978BED #C6C0F5 #E7E5FB

Accessibility & contrast

On white

2.90
#978BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#978BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BED
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BED#FFFFFF#000000##000000
##978BED1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#809EB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978bed;
/* rgb */ color: rgb(151, 139, 237);
/* oklch */ color: oklch(68.9% 0.142 287.7);
Tailwind
colors: {
  custom: {
    50: '#b9adf3',
    500: '#978bed',
    950: '#000000',
  },
}
SCSS
$custom: #978bed;
$custom-light: #b9adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#978bed",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 247.347,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.14156,
    "h": 287.7
  },
  "luminance": 0.31159
}

Semantic roles & 50–950 ramp

primary
#978BED
secondary
#EFF3D8
accent
#D510BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978BED

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

Preview Lab → · Contrast checker → · Palette generator →

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