#8D37A4#8D37A4

#8D37A4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.180 H 318.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D37A4
RGBrgb(141, 55, 164)
HSLhsl(287, 50%, 43%)
HSVhsv(287, 66%, 64%)
CMYKcmyk(14%, 66.5%, 0%, 35.7%)
CIE-LABlab(39.71, 52.49, -42.57)
CIE-LCHlch(39.71, 67.58, 320.96°)
OKLaboklab(50.3% 0.1346 -0.1192)
OKLCHoklch(50.3% 0.18 318.5)
XYZxyz(19.0506, 11.0763, 36.2492)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37A4 #4EA437
analogous
#5637A4 #8D37A4 #A43785
triadic
#8D37A4 #A48D37 #37A48D
tetradic
#8D37A4 #A45637 #4EA437 #3785A4
square
#8D37A4 #A45637 #4EA437 #3785A4
split-complementary
#8D37A4 #85A437 #37A456
monochromatic
#3E1848 #662876 #8D37A4 #AD53C5 #C381D5

Accessibility & contrast

On white

6.53
#8D37A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8D37A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37A4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37A4#FFFFFF#000000##FFFFFF
##8D37A41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#8D4B69
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d37a4;
/* rgb */ color: rgb(141, 55, 164);
/* oklch */ color: oklch(50.3% 0.180 318.5);
Tailwind
colors: {
  custom: {
    50: '#b174bf',
    500: '#8d37a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d37a4;
$custom-light: #b174bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37a4",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 287.339,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.17974,
    "h": 318.5
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#8D37A4
secondary
#87BE79
accent
#D94F6C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D37A4

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

Preview Lab → · Contrast checker → · Palette generator →

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