#8979EF#8979EF

#8979EF is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.6% C 0.171 H 286.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8979EF
RGBrgb(137, 121, 239)
HSLhsl(248, 79%, 71%)
HSVhsv(248, 49%, 94%)
CMYKcmyk(42.7%, 49.4%, 0%, 6.3%)
CIE-LABlab(57.29, 34.54, -57.63)
CIE-LCHlch(57.29, 67.19, 300.93°)
OKLaboklab(64.57% 0.0494 -0.1636)
OKLCHoklch(64.57% 0.171 286.8)
XYZxyz(32.7294, 25.2239, 84.7888)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979EF #DFEF79
analogous
#79A4EF #8979EF #C479EF
triadic
#8979EF #EF8979 #79EF89
tetradic
#8979EF #EF79A4 #DFEF79 #79EFC4
square
#8979EF #EF79A4 #DFEF79 #79EFC4
split-complementary
#8979EF #EFC479 #A4EF79
monochromatic
#3319D4 #5942E8 #8979EF #B9B0F6 #E7E4FC

Accessibility & contrast

On white

3.47
#8979EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8979EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979EF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979EF#FFFFFF#000000##000000
##8979EF1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#6A92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8979ef;
/* rgb */ color: rgb(137, 121, 239);
/* oklch */ color: oklch(64.6% 0.171 286.8);
Tailwind
colors: {
  custom: {
    50: '#b1a0f5',
    500: '#8979ef',
    950: '#000000',
  },
}
SCSS
$custom: #8979ef;
$custom-light: #b1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8979ef",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 248.136,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64574,
    "c": 0.17087,
    "h": 286.8
  },
  "luminance": 0.25225
}

Semantic roles & 50–950 ramp

primary
#8979EF
secondary
#EEF2D2
accent
#DB0BBF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979EF

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

Preview Lab → · Contrast checker → · Palette generator →

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