#8979FB#8979FB

#8979FB is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.187 H 285.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8979FB
RGBrgb(137, 121, 251)
HSLhsl(247, 94%, 73%)
HSVhsv(247, 52%, 98%)
CMYKcmyk(45.4%, 51.8%, 0%, 1.6%)
CIE-LABlab(58.00, 37.93, -63.15)
CIE-LCHlch(58.00, 73.67, 300.99°)
OKLaboklab(65.33% 0.0502 -0.1798)
OKLCHoklch(65.33% 0.187 285.6)
XYZxyz(34.5614, 25.9566, 94.4372)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979FB #EBFB79
analogous
#79AAFB #8979FB #CA79FB
triadic
#8979FB #FB8979 #79FB89
tetradic
#8979FB #FB79AA #EBFB79 #79FBCA
square
#8979FB #FB79AA #EBFB79 #79FBCA
split-complementary
#8979FB #FBCA79 #AAFB79
monochromatic
#2407F2 #553EF9 #8979FB #BDB4FD #E5E1FE

Accessibility & contrast

On white

3.39
#8979FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8979FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979FB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979FB#FFFFFF#000000##000000
##8979FB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#6495AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8979fb;
/* rgb */ color: rgb(137, 121, 251);
/* oklch */ color: oklch(65.3% 0.187 285.6);
Tailwind
colors: {
  custom: {
    50: '#b2a0fd',
    500: '#8979fb',
    950: '#000000',
  },
}
SCSS
$custom: #8979fb;
$custom-light: #b2a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8979fb",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 247.385,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.18667,
    "h": 285.6
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#8979FB
secondary
#F2F6D5
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8979FB

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

Preview Lab → · Contrast checker → · Palette generator →

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