#8A37AE#8A37AE

#8A37AE is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.188 H 313.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A37AE
RGBrgb(138, 55, 174)
HSLhsl(282, 52%, 45%)
HSVhsv(282, 68%, 68%)
CMYKcmyk(20.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(39.90, 53.87, -48.24)
CIE-LCHlch(39.90, 72.31, 318.15°)
OKLaboklab(50.55% 0.1303 -0.1359)
OKLCHoklch(50.55% 0.188 313.8)
XYZxyz(19.4861, 11.1923, 41.1700)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37AE #5BAE37
analogous
#4F37AE #8A37AE #AE3796
triadic
#8A37AE #AE8A37 #37AE8A
tetradic
#8A37AE #AE4F37 #5BAE37 #3796AE
square
#8A37AE #AE4F37 #5BAE37 #3796AE
split-complementary
#8A37AE #96AE37 #37AE4F
monochromatic
#401A51 #65287F #8A37AE #A858CA #C086D9

Accessibility & contrast

On white

6.48
#8A37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37AE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37AE#FFFFFF#000000##FFFFFF
##8A37AE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#874F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a37ae;
/* rgb */ color: rgb(138, 55, 174);
/* oklch */ color: oklch(50.5% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#b074c7',
    500: '#8a37ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a37ae;
$custom-light: #b074c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37ae",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 281.849,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.18823,
    "h": 313.8
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#8A37AE
secondary
#93C37E
accent
#DB4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A37AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva