#8976CA#8976CA

#8976CA is a mid, vivid violet. Relative luminance 0.225; OKLCH L 61.9% C 0.125 H 292.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8976CA
RGBrgb(137, 118, 202)
HSLhsl(254, 44%, 63%)
HSVhsv(254, 42%, 79%)
CMYKcmyk(32.2%, 41.6%, 0%, 20.8%)
CIE-LABlab(54.59, 26.23, -41.13)
CIE-LCHlch(54.59, 48.78, 302.53°)
OKLaboklab(61.9% 0.0484 -0.1153)
OKLCHoklch(61.9% 0.125 292.8)
XYZxyz(27.4529, 22.5390, 58.7697)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976CA #B7CA76
analogous
#768DCA #8976CA #B376CA
triadic
#8976CA #CA8976 #76CA89
tetradic
#8976CA #CA768D #B7CA76 #76CAB3
square
#8976CA #CA768D #B7CA76 #76CAB3
split-complementary
#8976CA #CAB376 #8DCA76
monochromatic
#4B378E #634AB9 #8976CA #AFA2DB #D5CEEC

Accessibility & contrast

On white

3.81
#8976CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8976CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976CA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976CA#FFFFFF#000000##000000
##8976CA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#7A8596
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8976ca;
/* rgb */ color: rgb(137, 118, 202);
/* oklch */ color: oklch(61.9% 0.125 292.8);
Tailwind
colors: {
  custom: {
    50: '#ae9dda',
    500: '#8976ca',
    950: '#000000',
  },
}
SCSS
$custom: #8976ca;
$custom-light: #ae9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8976ca",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 253.571,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.12506,
    "h": 292.8
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#8976CA
secondary
#D6DDBF
accent
#B72E98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8976CA

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

Preview Lab → · Contrast checker → · Palette generator →

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