#978BE8#978BE8

#978BE8 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.6% C 0.135 H 288.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#978BE8
RGBrgb(151, 139, 232)
HSLhsl(248, 67%, 73%)
HSVhsv(248, 40%, 91%)
CMYKcmyk(34.9%, 40.1%, 0%, 9%)
CIE-LABlab(62.40, 25.70, -45.57)
CIE-LCHlch(62.40, 52.32, 299.42°)
OKLaboklab(68.59% 0.0421 -0.1279)
OKLCHoklch(68.59% 0.135 288.2)
XYZxyz(36.5567, 30.8697, 80.3607)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BE8 #DCE88B
analogous
#8BADE8 #978BE8 #C58BE8
triadic
#978BE8 #E8978B #8BE897
tetradic
#978BE8 #E88BAD #DCE88B #8BE8C5
square
#978BE8 #E88BAD #DCE88B #8BE8C5
split-complementary
#978BE8 #E8C58B #ADE88B
monochromatic
#3F29CF #6958DE #978BE8 #C5BEF2 #E8E5FA

Accessibility & contrast

On white

2.93
#978BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#978BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BE8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BE8#FFFFFF#000000##000000
##978BE81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EC
Deuteranopia (green-blind)
#6D95E6
Tritanopia (blue-blind)
#829DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978be8;
/* rgb */ color: rgb(151, 139, 232);
/* oklch */ color: oklch(68.6% 0.135 288.2);
Tailwind
colors: {
  custom: {
    50: '#b8adf0',
    500: '#978be8',
    950: '#000000',
  },
}
SCSS
$custom: #978be8;
$custom-light: #b8adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#978be8",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 247.742,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.13469,
    "h": 288.2
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#978BE8
secondary
#EEF1DA
accent
#CF17B7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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