#8979EB#8979EB

#8979EB is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.3% C 0.166 H 287.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8979EB
RGBrgb(137, 121, 235)
HSLhsl(248, 74%, 70%)
HSVhsv(248, 49%, 92%)
CMYKcmyk(41.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(57.07, 33.42, -55.77)
CIE-LCHlch(57.07, 65.02, 300.93°)
OKLaboklab(64.33% 0.049 -0.1581)
OKLCHoklch(64.33% 0.166 287.2)
XYZxyz(32.1451, 24.9901, 81.7110)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979EB #DBEB79
analogous
#79A2EB #8979EB #C279EB
triadic
#8979EB #EB8979 #79EB89
tetradic
#8979EB #EB79A2 #DBEB79 #79EBC2
square
#8979EB #EB79A2 #DBEB79 #79EBC2
split-complementary
#8979EB #EBC279 #A2EB79
monochromatic
#371ECB #5A44E3 #8979EB #B8AEF3 #E7E4FB

Accessibility & contrast

On white

3.50
#8979EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8979EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979EB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979EB#FFFFFF#000000##000000
##8979EB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#6C90A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8979eb;
/* rgb */ color: rgb(137, 121, 235);
/* oklch */ color: oklch(64.3% 0.166 287.2);
Tailwind
colors: {
  custom: {
    50: '#b0a0f2',
    500: '#8979eb',
    950: '#000000',
  },
}
SCSS
$custom: #8979eb;
$custom-light: #b0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8979eb",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 248.421,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.16554,
    "h": 287.2
  },
  "luminance": 0.24991
}

Semantic roles & 50–950 ramp

primary
#8979EB
secondary
#EBF0D0
accent
#D60FBA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979EB

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

Preview Lab → · Contrast checker → · Palette generator →

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