#8976F5#8976F5

#8976F5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.183 H 287.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8976F5
RGBrgb(137, 118, 245)
HSLhsl(249, 86%, 71%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(44.1%, 51.8%, 0%, 3.9%)
CIE-LABlab(56.95, 37.96, -61.52)
CIE-LCHlch(56.95, 72.29, 301.68°)
OKLaboklab(64.43% 0.0534 -0.175)
OKLCHoklch(64.43% 0.183 287)
XYZxyz(33.2717, 24.8665, 89.4151)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976F5 #E2F576
analogous
#76A2F5 #8976F5 #C876F5
triadic
#8976F5 #F58976 #76F589
tetradic
#8976F5 #F576A2 #E2F576 #76F5C8
square
#8976F5 #F576A2 #E2F576 #76F5C8
split-complementary
#8976F5 #F5C876 #A2F576
monochromatic
#2F10E0 #583DF1 #8976F5 #BAAFF9 #E6E2FD

Accessibility & contrast

On white

3.52
#8976F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8976F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976F5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976F5#FFFFFF#000000##000000
##8976F51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#6791AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8976f5;
/* rgb */ color: rgb(137, 118, 245);
/* oklch */ color: oklch(64.4% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#b19ef9',
    500: '#8976f5',
    950: '#000000',
  },
}
SCSS
$custom: #8976f5;
$custom-light: #b19ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8976f5",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 248.976,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.18295,
    "h": 287
  },
  "luminance": 0.24868
}

Semantic roles & 50–950 ramp

primary
#8976F5
secondary
#EFF4D3
accent
#E303C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976F5

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

Preview Lab → · Contrast checker → · Palette generator →

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