#8937AE#8937AE

#8937AE is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.188 H 313.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8937AE
RGBrgb(137, 55, 174)
HSLhsl(281, 52%, 45%)
HSVhsv(281, 68%, 68%)
CMYKcmyk(21.3%, 68.4%, 0%, 31.8%)
CIE-LABlab(39.76, 53.65, -48.47)
CIE-LCHlch(39.76, 72.30, 317.90°)
OKLaboklab(50.42% 0.129 -0.1366)
OKLCHoklch(50.42% 0.188 313.4)
XYZxyz(19.3214, 11.1073, 41.1623)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937AE #5CAE37
analogous
#4E37AE #8937AE #AE3797
triadic
#8937AE #AE8937 #37AE89
tetradic
#8937AE #AE4E37 #5CAE37 #3797AE
square
#8937AE #AE4E37 #5CAE37 #3797AE
split-complementary
#8937AE #97AE37 #37AE4E
monochromatic
#401A51 #64287F #8937AE #A758CA #BF86D9

Accessibility & contrast

On white

6.52
#8937AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8937AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937AE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937AE#FFFFFF#000000##FFFFFF
##8937AE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#854F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8937ae;
/* rgb */ color: rgb(137, 55, 174);
/* oklch */ color: oklch(50.4% 0.188 313.4);
Tailwind
colors: {
  custom: {
    50: '#af74c7',
    500: '#8937ae',
    950: '#000000',
  },
}
SCSS
$custom: #8937ae;
$custom-light: #af74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8937ae",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 281.345,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.18786,
    "h": 313.4
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#8937AE
secondary
#93C37E
accent
#DB4C79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8937AE

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

Preview Lab → · Contrast checker → · Palette generator →

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