#8931A2#8931A2

#8931A2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 317.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8931A2
RGBrgb(137, 49, 162)
HSLhsl(287, 54%, 41%)
HSVhsv(287, 70%, 64%)
CMYKcmyk(15.4%, 69.8%, 0%, 36.5%)
CIE-LABlab(38.06, 53.75, -44.03)
CIE-LCHlch(38.06, 69.48, 320.68°)
OKLaboklab(48.96% 0.1364 -0.1235)
OKLCHoklch(48.96% 0.184 317.8)
XYZxyz(17.9355, 10.1244, 35.1849)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931A2 #4AA231
analogous
#5131A2 #8931A2 #A23183
triadic
#8931A2 #A28931 #31A289
tetradic
#8931A2 #A25131 #4AA231 #3183A2
square
#8931A2 #A25131 #4AA231 #3183A2
split-complementary
#8931A2 #83A231 #31A251
monochromatic
#3A1544 #612373 #8931A2 #AC48C8 #C177D6

Accessibility & contrast

On white

6.94
#8931A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8931A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931A2#FFFFFF#000000##FFFFFF
##8931A21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#884766
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8931a2;
/* rgb */ color: rgb(137, 49, 162);
/* oklch */ color: oklch(49.0% 0.184 317.8);
Tailwind
colors: {
  custom: {
    50: '#af71be',
    500: '#8931a2',
    950: '#000000',
  },
}
SCSS
$custom: #8931a2;
$custom-light: #af71be;
$custom-dark: #000000;
JSON
{
  "hex": "#8931a2",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 286.726,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.18405,
    "h": 317.8
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#8931A2
secondary
#82BE71
accent
#DD4B6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8931A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8931A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva