#978BEA#978BEA

#978BEA is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.7% C 0.137 H 288.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#978BEA
RGBrgb(151, 139, 234)
HSLhsl(248, 69%, 73%)
HSVhsv(248, 41%, 92%)
CMYKcmyk(35.5%, 40.6%, 0%, 8.2%)
CIE-LABlab(62.49, 26.23, -46.53)
CIE-LCHlch(62.49, 53.41, 299.41°)
OKLaboklab(68.7% 0.0425 -0.1307)
OKLCHoklch(68.7% 0.137 288)
XYZxyz(36.8424, 30.9840, 81.8653)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BEA #DEEA8B
analogous
#8BAEEA #978BEA #C68BEA
triadic
#978BEA #EA978B #8BEA97
tetradic
#978BEA #EA8BAE #DEEA8B #8BEAC6
square
#978BEA #EA8BAE #DEEA8B #8BEAC6
split-complementary
#978BEA #EAC68B #AEEA8B
monochromatic
#3C26D4 #6957E1 #978BEA #C5BFF3 #E8E5FA

Accessibility & contrast

On white

2.92
#978BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#978BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BEA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BEA#FFFFFF#000000##000000
##978BEA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#829DAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978bea;
/* rgb */ color: rgb(151, 139, 234);
/* oklch */ color: oklch(68.7% 0.137 288.0);
Tailwind
colors: {
  custom: {
    50: '#b8adf1',
    500: '#978bea',
    950: '#000000',
  },
}
SCSS
$custom: #978bea;
$custom-light: #b8adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#978bea",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 247.579,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68696,
    "c": 0.13745,
    "h": 288
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#978BEA
secondary
#EFF2D9
accent
#D114B9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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