#8937A2#8937A2

#8937A2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.176 H 317.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8937A2
RGBrgb(137, 55, 162)
HSLhsl(286, 49%, 43%)
HSVhsv(286, 66%, 64%)
CMYKcmyk(15.4%, 66%, 0%, 36.5%)
CIE-LABlab(39.00, 51.13, -42.53)
CIE-LCHlch(39.00, 66.51, 320.25°)
OKLaboklab(49.63% 0.1296 -0.1192)
OKLCHoklch(49.63% 0.176 317.4)
XYZxyz(18.2034, 10.6601, 35.2742)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937A2 #50A237
analogous
#5337A2 #8937A2 #A23786
triadic
#8937A2 #A28937 #37A289
tetradic
#8937A2 #A25337 #50A237 #3786A2
square
#8937A2 #A25337 #50A237 #3786A2
split-complementary
#8937A2 #86A237 #37A253
monochromatic
#3C1847 #622774 #8937A2 #AA52C4 #C080D4

Accessibility & contrast

On white

6.71
#8937A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8937A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937A2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937A2#FFFFFF#000000##FFFFFF
##8937A21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#884A68
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8937a2;
/* rgb */ color: rgb(137, 55, 162);
/* oklch */ color: oklch(49.6% 0.176 317.4);
Tailwind
colors: {
  custom: {
    50: '#af74be',
    500: '#8937a2',
    950: '#000000',
  },
}
SCSS
$custom: #8937a2;
$custom-light: #af74be;
$custom-dark: #000000;
JSON
{
  "hex": "#8937a2",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 285.981,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.17608,
    "h": 317.4
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#8937A2
secondary
#88BD78
accent
#D94F6F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8937A2

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

Preview Lab → · Contrast checker → · Palette generator →

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