#8976F7#8976F7

#8976F7 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.6% C 0.186 H 286.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8976F7
RGBrgb(137, 118, 247)
HSLhsl(249, 89%, 72%)
HSVhsv(249, 52%, 97%)
CMYKcmyk(44.5%, 52.2%, 0%, 3.1%)
CIE-LABlab(57.06, 38.53, -62.44)
CIE-LCHlch(57.06, 73.37, 301.68°)
OKLaboklab(64.55% 0.0535 -0.1777)
OKLCHoklch(64.55% 0.186 286.7)
XYZxyz(33.5786, 24.9893, 91.0318)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976F7 #E4F776
analogous
#76A4F7 #8976F7 #CA76F7
triadic
#8976F7 #F78976 #76F789
tetradic
#8976F7 #F776A4 #E4F776 #76F7CA
square
#8976F7 #F776A4 #E4F776 #76F7CA
split-complementary
#8976F7 #F7CA76 #A4F776
monochromatic
#2D0DE5 #573CF4 #8976F7 #BBB0FA #E6E2FD

Accessibility & contrast

On white

3.50
#8976F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8976F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976F7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976F7#FFFFFF#000000##000000
##8976F71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFB
Deuteranopia (green-blind)
#3585F4
Tritanopia (blue-blind)
#6692AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8976f7;
/* rgb */ color: rgb(137, 118, 247);
/* oklch */ color: oklch(64.6% 0.186 286.7);
Tailwind
colors: {
  custom: {
    50: '#b19efa',
    500: '#8976f7',
    950: '#000000',
  },
}
SCSS
$custom: #8976f7;
$custom-light: #b19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8976f7",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 248.837,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.18555,
    "h": 286.7
  },
  "luminance": 0.24991
}

Semantic roles & 50–950 ramp

primary
#8976F7
secondary
#F0F5D4
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976F7

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

Preview Lab → · Contrast checker → · Palette generator →

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