#8A37AD#8A37AD

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

Color values

HEX#8A37AD
RGBrgb(138, 55, 173)
HSLhsl(282, 52%, 45%)
HSVhsv(282, 68%, 68%)
CMYKcmyk(20.2%, 68.2%, 0%, 32.2%)
CIE-LABlab(39.84, 53.66, -47.75)
CIE-LCHlch(39.84, 71.83, 318.33°)
OKLaboklab(50.48% 0.1303 -0.1344)
OKLCHoklch(50.48% 0.187 314.1)
XYZxyz(19.3890, 11.1534, 40.6585)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37AD #5AAD37
analogous
#4F37AD #8A37AD #AD3795
triadic
#8A37AD #AD8A37 #37AD8A
tetradic
#8A37AD #AD4F37 #5AAD37 #3795AD
square
#8A37AD #AD4F37 #5AAD37 #3795AD
split-complementary
#8A37AD #95AD37 #37AD4F
monochromatic
#401950 #65287F #8A37AD #A857CA #C086D8

Accessibility & contrast

On white

6.50
#8A37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37AD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37AD#FFFFFF#000000##FFFFFF
##8A37AD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#874F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a37ad;
/* rgb */ color: rgb(138, 55, 173);
/* oklch */ color: oklch(50.5% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#b074c6',
    500: '#8a37ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a37ad;
$custom-light: #b074c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37ad",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 282.203,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.18724,
    "h": 314.1
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#8A37AD
secondary
#92C27D
accent
#DB4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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