#8979F5#8979F5

#8979F5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.179 H 286.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8979F5
RGBrgb(137, 121, 245)
HSLhsl(248, 86%, 72%)
HSVhsv(248, 51%, 96%)
CMYKcmyk(44.1%, 50.6%, 0%, 3.9%)
CIE-LABlab(57.64, 36.23, -60.41)
CIE-LCHlch(57.64, 70.44, 300.95°)
OKLaboklab(64.95% 0.0499 -0.1717)
OKLCHoklch(64.95% 0.179 286.2)
XYZxyz(33.6306, 25.5843, 89.5348)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979F5 #E5F579
analogous
#79A7F5 #8979F5 #C779F5
triadic
#8979F5 #F58979 #79F589
tetradic
#8979F5 #F579A7 #E5F579 #79F5C7
square
#8979F5 #F579A7 #E5F579 #79F5C7
split-complementary
#8979F5 #F5C779 #A7F579
monochromatic
#2C11E3 #5740F1 #8979F5 #BBB2F9 #E6E3FD

Accessibility & contrast

On white

3.43
#8979F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8979F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979F5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979F5#FFFFFF#000000##000000
##8979F51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#6793AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8979f5;
/* rgb */ color: rgb(137, 121, 245);
/* oklch */ color: oklch(64.9% 0.179 286.2);
Tailwind
colors: {
  custom: {
    50: '#b1a0f9',
    500: '#8979f5',
    950: '#000000',
  },
}
SCSS
$custom: #8979f5;
$custom-light: #b1a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8979f5",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 247.742,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.17881,
    "h": 286.2
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#8979F5
secondary
#F1F5D5
accent
#E303C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979F5

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

Preview Lab → · Contrast checker → · Palette generator →

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