#8979EA#8979EA

#8979EA is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.3% C 0.164 H 287.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8979EA
RGBrgb(137, 121, 234)
HSLhsl(248, 73%, 70%)
HSVhsv(248, 48%, 92%)
CMYKcmyk(41.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(57.01, 33.14, -55.31)
CIE-LCHlch(57.01, 64.48, 300.93°)
OKLaboklab(64.27% 0.0489 -0.1567)
OKLCHoklch(64.27% 0.164 287.3)
XYZxyz(32.0010, 24.9325, 80.9523)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979EA #DAEA79
analogous
#79A1EA #8979EA #C279EA
triadic
#8979EA #EA8979 #79EA89
tetradic
#8979EA #EA79A1 #DAEA79 #79EAC2
square
#8979EA #EA79A1 #DAEA79 #79EAC2
split-complementary
#8979EA #EAC279 #A1EA79
monochromatic
#3820C9 #5A44E2 #8979EA #B8AEF2 #E6E3FB

Accessibility & contrast

On white

3.51
#8979EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8979EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979EA#FFFFFF#000000##000000
##8979EA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#6D90A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8979ea;
/* rgb */ color: rgb(137, 121, 234);
/* oklch */ color: oklch(64.3% 0.164 287.3);
Tailwind
colors: {
  custom: {
    50: '#b0a0f1',
    500: '#8979ea',
    950: '#000000',
  },
}
SCSS
$custom: #8979ea;
$custom-light: #b0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8979ea",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 248.496,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.1642,
    "h": 287.3
  },
  "luminance": 0.24934
}

Semantic roles & 50–950 ramp

primary
#8979EA
secondary
#EBF0CF
accent
#D511B9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979EA

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

Preview Lab → · Contrast checker → · Palette generator →

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