#8979EC#8979EC

#8979EC is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.4% C 0.167 H 287.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8979EC
RGBrgb(137, 121, 236)
HSLhsl(248, 75%, 70%)
HSVhsv(248, 49%, 93%)
CMYKcmyk(41.9%, 48.7%, 0%, 7.5%)
CIE-LABlab(57.12, 33.70, -56.24)
CIE-LCHlch(57.12, 65.56, 300.93°)
OKLaboklab(64.39% 0.0491 -0.1595)
OKLCHoklch(64.39% 0.167 287.1)
XYZxyz(32.2899, 25.0481, 82.4740)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979EC #DCEC79
analogous
#79A2EC #8979EC #C379EC
triadic
#8979EC #EC8979 #79EC89
tetradic
#8979EC #EC79A2 #DCEC79 #79ECC3
square
#8979EC #EC79A2 #DCEC79 #79ECC3
split-complementary
#8979EC #ECC379 #A2EC79
monochromatic
#361DCD #5A43E4 #8979EC #B8AFF4 #E7E4FB

Accessibility & contrast

On white

3.49
#8979EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8979EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979EC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979EC#FFFFFF#000000##000000
##8979EC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#6C91A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8979ec;
/* rgb */ color: rgb(137, 121, 236);
/* oklch */ color: oklch(64.4% 0.167 287.1);
Tailwind
colors: {
  custom: {
    50: '#b0a0f3',
    500: '#8979ec',
    950: '#000000',
  },
}
SCSS
$custom: #8979ec;
$custom-light: #b0a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8979ec",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 248.348,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.16688,
    "h": 287.1
  },
  "luminance": 0.25049
}

Semantic roles & 50–950 ramp

primary
#8979EC
secondary
#ECF0D0
accent
#D70EBB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979EC

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

Preview Lab → · Contrast checker → · Palette generator →

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