#8979F7#8979F7

#8979F7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.1% C 0.181 H 286.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8979F7
RGBrgb(137, 121, 247)
HSLhsl(248, 89%, 72%)
HSVhsv(248, 51%, 97%)
CMYKcmyk(44.5%, 51%, 0%, 3.1%)
CIE-LABlab(57.76, 36.80, -61.33)
CIE-LCHlch(57.76, 71.52, 300.96°)
OKLaboklab(65.07% 0.05 -0.1744)
OKLCHoklch(65.07% 0.181 286)
XYZxyz(33.9375, 25.7071, 91.1514)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979F7 #E7F779
analogous
#79A8F7 #8979F7 #C879F7
triadic
#8979F7 #F78979 #79F789
tetradic
#8979F7 #F779A8 #E7F779 #79F7C8
square
#8979F7 #F779A8 #E7F779 #79F7C8
split-complementary
#8979F7 #F7C879 #A8F779
monochromatic
#2A0EE8 #563FF4 #8979F7 #BCB3FA #E6E2FD

Accessibility & contrast

On white

3.42
#8979F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8979F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979F7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979F7#FFFFFF#000000##000000
##8979F71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#3B87F4
Tritanopia (blue-blind)
#6694AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8979f7;
/* rgb */ color: rgb(137, 121, 247);
/* oklch */ color: oklch(65.1% 0.181 286.0);
Tailwind
colors: {
  custom: {
    50: '#b1a0fa',
    500: '#8979f7',
    950: '#000000',
  },
}
SCSS
$custom: #8979f7;
$custom-light: #b1a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8979f7",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 247.619,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.18144,
    "h": 286
  },
  "luminance": 0.25709
}

Semantic roles & 50–950 ramp

primary
#8979F7
secondary
#F1F5D6
accent
#E500C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8979F7

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

Preview Lab → · Contrast checker → · Palette generator →

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