#8979E2#8979E2

#8979E2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.153 H 288.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8979E2
RGBrgb(137, 121, 226)
HSLhsl(249, 64%, 68%)
HSVhsv(249, 46%, 89%)
CMYKcmyk(39.4%, 46.5%, 0%, 11.4%)
CIE-LABlab(56.57, 30.93, -51.54)
CIE-LCHlch(56.57, 60.11, 300.97°)
OKLaboklab(63.8% 0.0481 -0.1457)
OKLCHoklch(63.8% 0.153 288.3)
XYZxyz(30.8776, 24.4831, 75.0356)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979E2 #D2E279
analogous
#799DE2 #8979E2 #BD79E2
triadic
#8979E2 #E28979 #79E289
tetradic
#8979E2 #E2799D #D2E279 #79E2BD
square
#8979E2 #E2799D #D2E279 #79E2BD
split-complementary
#8979E2 #E2BD79 #9DE279
monochromatic
#3E28B9 #5D47D7 #8979E2 #B5ABED #E2DEF8

Accessibility & contrast

On white

3.56
#8979E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8979E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979E2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979E2#FFFFFF#000000##000000
##8979E21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#5185E0
Tritanopia (blue-blind)
#708EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8979e2;
/* rgb */ color: rgb(137, 121, 226);
/* oklch */ color: oklch(63.8% 0.153 288.3);
Tailwind
colors: {
  custom: {
    50: '#afa0eb',
    500: '#8979e2',
    950: '#000000',
  },
}
SCSS
$custom: #8979e2;
$custom-light: #afa0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8979e2",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 249.143,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.15343,
    "h": 288.3
  },
  "luminance": 0.24484
}

Semantic roles & 50–950 ramp

primary
#8979E2
secondary
#E7EBCB
accent
#CC19B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8979E2

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

Preview Lab → · Contrast checker → · Palette generator →

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