#8976F6#8976F6

#8976F6 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.5% C 0.184 H 286.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8976F6
RGBrgb(137, 118, 246)
HSLhsl(249, 88%, 71%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(44.3%, 52%, 0%, 3.5%)
CIE-LABlab(57.00, 38.25, -61.98)
CIE-LCHlch(57.00, 72.83, 301.68°)
OKLaboklab(64.49% 0.0534 -0.1763)
OKLCHoklch(64.49% 0.184 286.8)
XYZxyz(33.4247, 24.9277, 90.2213)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976F6 #E3F676
analogous
#76A3F6 #8976F6 #C976F6
triadic
#8976F6 #F68976 #76F689
tetradic
#8976F6 #F676A3 #E3F676 #76F6C9
square
#8976F6 #F676A3 #E3F676 #76F6C9
split-complementary
#8976F6 #F6C976 #A3F676
monochromatic
#2E0FE3 #583DF2 #8976F6 #BAAFFA #E6E2FD

Accessibility & contrast

On white

3.51
#8976F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8976F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976F6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976F6#FFFFFF#000000##000000
##8976F61.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#3785F3
Tritanopia (blue-blind)
#6791AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8976f6;
/* rgb */ color: rgb(137, 118, 246);
/* oklch */ color: oklch(64.5% 0.184 286.8);
Tailwind
colors: {
  custom: {
    50: '#b19efa',
    500: '#8976f6',
    950: '#000000',
  },
}
SCSS
$custom: #8976f6;
$custom-light: #b19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8976f6",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 248.906,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.18426,
    "h": 286.8
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#8976F6
secondary
#F0F5D3
accent
#E401C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976F6

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

Preview Lab → · Contrast checker → · Palette generator →

#8976F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva