#8976D7#8976D7

#8976D7 is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.6% C 0.143 H 290.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8976D7
RGBrgb(137, 118, 215)
HSLhsl(252, 55%, 65%)
HSVhsv(252, 45%, 84%)
CMYKcmyk(36.3%, 45.1%, 0%, 15.7%)
CIE-LABlab(55.26, 29.68, -47.44)
CIE-LCHlch(55.26, 55.96, 302.03°)
OKLaboklab(62.62% 0.0505 -0.1337)
OKLCHoklch(62.62% 0.143 290.7)
XYZxyz(29.0574, 23.1808, 67.2202)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976D7 #C4D776
analogous
#7693D7 #8976D7 #BA76D7
triadic
#8976D7 #D78976 #76D789
tetradic
#8976D7 #D77693 #C4D776 #76D7BA
square
#8976D7 #D77693 #C4D776 #76D7BA
split-complementary
#8976D7 #D7BA76 #93D776
monochromatic
#4630A3 #6047C9 #8976D7 #B2A5E5 #DBD5F3

Accessibility & contrast

On white

3.73
#8976D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8976D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976D7#FFFFFF#000000##000000
##8976D71.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DB
Deuteranopia (green-blind)
#5682D5
Tritanopia (blue-blind)
#75899C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8976d7;
/* rgb */ color: rgb(137, 118, 215);
/* oklch */ color: oklch(62.6% 0.143 290.7);
Tailwind
colors: {
  custom: {
    50: '#af9de4',
    500: '#8976d7',
    950: '#000000',
  },
}
SCSS
$custom: #8976d7;
$custom-light: #af9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8976d7",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 215
  },
  "hsl": {
    "h": 251.753,
    "s": 54.802,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62617,
    "c": 0.14293,
    "h": 290.7
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#8976D7
secondary
#DEE5C4
accent
#C223A3
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E15
muted
#807E84

Preview Lab

Preview with #8976D7

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

Preview Lab → · Contrast checker → · Palette generator →

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