#978BEF#978BEF

#978BEF is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.144 H 287.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#978BEF
RGBrgb(151, 139, 239)
HSLhsl(247, 76%, 74%)
HSVhsv(247, 42%, 94%)
CMYKcmyk(36.8%, 41.8%, 0%, 6.3%)
CIE-LABlab(62.74, 27.56, -48.90)
CIE-LCHlch(62.74, 56.13, 299.40°)
OKLaboklab(68.96% 0.0434 -0.1376)
OKLCHoklch(68.96% 0.144 287.5)
XYZxyz(37.5708, 31.2754, 85.7018)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BEF #E3EF8B
analogous
#8BB1EF #978BEF #C98BEF
triadic
#978BEF #EF978B #8BEF97
tetradic
#978BEF #EF8BB1 #E3EF8B #8BEFC9
square
#978BEF #EF8BB1 #E3EF8B #8BEFC9
split-complementary
#978BEF #EFC98B #B1EF8B
monochromatic
#371FE0 #6755E8 #978BEF #C7C1F6 #E7E4FB

Accessibility & contrast

On white

2.89
#978BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#978BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BEF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BEF#FFFFFF#000000##000000
##978BEF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#809EB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978bef;
/* rgb */ color: rgb(151, 139, 239);
/* oklch */ color: oklch(69.0% 0.144 287.5);
Tailwind
colors: {
  custom: {
    50: '#b9adf5',
    500: '#978bef',
    950: '#000000',
  },
}
SCSS
$custom: #978bef;
$custom-light: #b9adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#978bef",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 247.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68963,
    "c": 0.1443,
    "h": 287.5
  },
  "luminance": 0.31277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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