#978BE2#978BE2

#978BE2 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.3% C 0.126 H 288.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#978BE2
RGBrgb(151, 139, 226)
HSLhsl(248, 60%, 72%)
HSVhsv(248, 38%, 89%)
CMYKcmyk(33.2%, 38.5%, 0%, 11.4%)
CIE-LABlab(62.11, 24.13, -42.69)
CIE-LCHlch(62.11, 49.04, 299.47°)
OKLaboklab(68.28% 0.041 -0.1196)
OKLCHoklch(68.28% 0.126 288.9)
XYZxyz(35.7190, 30.5347, 75.9486)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BE2 #D6E28B
analogous
#8BABE2 #978BE2 #C38BE2
triadic
#978BE2 #E2978B #8BE297
tetradic
#978BE2 #E28BAB #D6E28B #8BE2C3
square
#978BE2 #E28BAB #D6E28B #8BE2C3
split-complementary
#978BE2 #E2C38B #ABE28B
monochromatic
#4531C2 #6B5AD6 #978BE2 #C3BCEE #E9E7F9

Accessibility & contrast

On white

2.95
#978BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#978BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BE2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BE2#FFFFFF#000000##000000
##978BE21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#859BAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978be2;
/* rgb */ color: rgb(151, 139, 226);
/* oklch */ color: oklch(68.3% 0.126 288.9);
Tailwind
colors: {
  custom: {
    50: '#b8adeb',
    500: '#978be2',
    950: '#000000',
  },
}
SCSS
$custom: #978be2;
$custom-light: #b8adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#978be2",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 248.276,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.12639,
    "h": 288.9
  },
  "luminance": 0.30536
}

Semantic roles & 50–950 ramp

primary
#978BE2
secondary
#ECF0D9
accent
#C81EB0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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