#8976F2#8976F2

#8976F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.2% C 0.179 H 287.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8976F2
RGBrgb(137, 118, 242)
HSLhsl(249, 83%, 71%)
HSVhsv(249, 51%, 95%)
CMYKcmyk(43.4%, 51.2%, 0%, 5.1%)
CIE-LABlab(56.77, 37.12, -60.14)
CIE-LCHlch(56.77, 70.68, 301.68°)
OKLaboklab(64.24% 0.0532 -0.1709)
OKLCHoklch(64.24% 0.179 287.3)
XYZxyz(32.8174, 24.6848, 87.0227)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976F2 #DFF276
analogous
#76A1F2 #8976F2 #C776F2
triadic
#8976F2 #F28976 #76F289
tetradic
#8976F2 #F276A1 #DFF276 #76F2C7
square
#8976F2 #F276A1 #DFF276 #76F2C7
split-complementary
#8976F2 #F2C776 #A1F276
monochromatic
#3315D9 #593EED #8976F2 #B9AEF7 #E7E3FC

Accessibility & contrast

On white

3.54
#8976F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8976F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976F2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976F2#FFFFFF#000000##000000
##8976F21.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#6990A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8976f2;
/* rgb */ color: rgb(137, 118, 242);
/* oklch */ color: oklch(64.2% 0.179 287.3);
Tailwind
colors: {
  custom: {
    50: '#b19ef7',
    500: '#8976f2',
    950: '#000000',
  },
}
SCSS
$custom: #8976f2;
$custom-light: #b19ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8976f2",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 249.194,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.17903,
    "h": 287.3
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#8976F2
secondary
#EEF3D1
accent
#DF06BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976F2

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

Preview Lab → · Contrast checker → · Palette generator →

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