#978BEE#978BEE

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

Color values

HEX#978BEE
RGBrgb(151, 139, 238)
HSLhsl(247, 74%, 74%)
HSVhsv(247, 42%, 93%)
CMYKcmyk(36.6%, 41.6%, 0%, 6.7%)
CIE-LABlab(62.69, 27.29, -48.43)
CIE-LCHlch(62.69, 55.59, 299.40°)
OKLaboklab(68.91% 0.0432 -0.1362)
OKLCHoklch(68.91% 0.143 287.6)
XYZxyz(37.4235, 31.2165, 84.9260)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BEE #E2EE8B
analogous
#8BB1EE #978BEE #C98BEE
triadic
#978BEE #EE978B #8BEE97
tetradic
#978BEE #EE8BB1 #E2EE8B #8BEEC9
square
#978BEE #EE8BB1 #E2EE8B #8BEEC9
split-complementary
#978BEE #EEC98B #B1EE8B
monochromatic
#3821DE #6756E6 #978BEE #C7C0F6 #E7E4FB

Accessibility & contrast

On white

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

On black

7.24
#978BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BEE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BEE#FFFFFF#000000##000000
##978BEE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#809EB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978bee;
/* rgb */ color: rgb(151, 139, 238);
/* oklch */ color: oklch(68.9% 0.143 287.6);
Tailwind
colors: {
  custom: {
    50: '#b9adf4',
    500: '#978bee',
    950: '#000000',
  },
}
SCSS
$custom: #978bee;
$custom-light: #b9adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#978bee",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 247.273,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.14293,
    "h": 287.6
  },
  "luminance": 0.31218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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