#8976CD#8976CD

#8976CD is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.1% C 0.129 H 292.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8976CD
RGBrgb(137, 118, 205)
HSLhsl(253, 47%, 63%)
HSVhsv(253, 42%, 80%)
CMYKcmyk(33.2%, 42.4%, 0%, 19.6%)
CIE-LABlab(54.74, 27.02, -42.59)
CIE-LCHlch(54.74, 50.44, 302.38°)
OKLaboklab(62.06% 0.0489 -0.1196)
OKLCHoklch(62.06% 0.129 292.3)
XYZxyz(27.8116, 22.6824, 60.6586)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976CD #BACD76
analogous
#768ECD #8976CD #B476CD
triadic
#8976CD #CD8976 #76CD89
tetradic
#8976CD #CD768E #BACD76 #76CDB4
square
#8976CD #CD768E #BACD76 #76CDB4
split-complementary
#8976CD #CDB476 #8ECD76
monochromatic
#4A3693 #6249BD #8976CD #B0A3DD #D6D0EE

Accessibility & contrast

On white

3.79
#8976CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8976CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976CD#FFFFFF#000000##000000
##8976CD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#798698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8976cd;
/* rgb */ color: rgb(137, 118, 205);
/* oklch */ color: oklch(62.1% 0.129 292.3);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8976cd',
    950: '#000000',
  },
}
SCSS
$custom: #8976cd;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8976cd",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 253.103,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.12921,
    "h": 292.3
  },
  "luminance": 0.22683
}

Semantic roles & 50–950 ramp

primary
#8976CD
secondary
#D8DFC0
accent
#BA2C9B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8976CD

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

Preview Lab → · Contrast checker → · Palette generator →

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