#8976CB#8976CB

#8976CB is a mid, vivid violet. Relative luminance 0.226; OKLCH L 62.0% C 0.126 H 292.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8976CB
RGBrgb(137, 118, 203)
HSLhsl(253, 45%, 63%)
HSVhsv(253, 42%, 80%)
CMYKcmyk(32.5%, 41.9%, 0%, 20.4%)
CIE-LABlab(54.64, 26.49, -41.62)
CIE-LCHlch(54.64, 49.33, 302.48°)
OKLaboklab(61.95% 0.0486 -0.1167)
OKLCHoklch(61.95% 0.126 292.6)
XYZxyz(27.5717, 22.5865, 59.3953)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976CB #B8CB76
analogous
#768DCB #8976CB #B476CB
triadic
#8976CB #CB8976 #76CB89
tetradic
#8976CB #CB768D #B8CB76 #76CBB4
square
#8976CB #CB768D #B8CB76 #76CBB4
split-complementary
#8976CB #CBB476 #8DCB76
monochromatic
#4B3790 #634ABA #8976CB #AFA2DC #D5CFED

Accessibility & contrast

On white

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

On black

5.52
#8976CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976CB#FFFFFF#000000##000000
##8976CB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#7A8697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8976cb;
/* rgb */ color: rgb(137, 118, 203);
/* oklch */ color: oklch(62.0% 0.126 292.6);
Tailwind
colors: {
  custom: {
    50: '#ae9ddb',
    500: '#8976cb',
    950: '#000000',
  },
}
SCSS
$custom: #8976cb;
$custom-light: #ae9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8976cb",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 253.412,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.12645,
    "h": 292.6
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#8976CB
secondary
#D7DEBF
accent
#B82D99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8976CB

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

Preview Lab → · Contrast checker → · Palette generator →

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