#8979E8#8979E8

#8979E8 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.1% C 0.162 H 287.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8979E8
RGBrgb(137, 121, 232)
HSLhsl(249, 71%, 69%)
HSVhsv(249, 48%, 91%)
CMYKcmyk(40.9%, 47.8%, 0%, 9%)
CIE-LABlab(56.90, 32.59, -54.37)
CIE-LCHlch(56.90, 63.39, 300.94°)
OKLaboklab(64.15% 0.0487 -0.154)
OKLCHoklch(64.15% 0.162 287.6)
XYZxyz(31.7153, 24.8182, 79.4476)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979E8 #D8E879
analogous
#79A1E8 #8979E8 #C179E8
triadic
#8979E8 #E88979 #79E889
tetradic
#8979E8 #E879A1 #D8E879 #79E8C1
square
#8979E8 #E879A1 #D8E879 #79E8C1
split-complementary
#8979E8 #E8C179 #A1E879
monochromatic
#3922C5 #5B45DF #8979E8 #B7ADF1 #E5E1FA

Accessibility & contrast

On white

3.52
#8979E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8979E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979E8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979E8#FFFFFF#000000##000000
##8979E81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#4C86E5
Tritanopia (blue-blind)
#6E90A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8979e8;
/* rgb */ color: rgb(137, 121, 232);
/* oklch */ color: oklch(64.1% 0.162 287.6);
Tailwind
colors: {
  custom: {
    50: '#b0a0f0',
    500: '#8979e8',
    950: '#000000',
  },
}
SCSS
$custom: #8979e8;
$custom-light: #b0a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8979e8",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 248.649,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6415,
    "c": 0.16152,
    "h": 287.6
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#8979E8
secondary
#EAEFCE
accent
#D313B7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8979E8

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

Preview Lab → · Contrast checker → · Palette generator →

#8979E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva