#8D37A2#8D37A2

#8D37A2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.178 H 319.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8D37A2
RGBrgb(141, 55, 162)
HSLhsl(288, 49%, 43%)
HSVhsv(288, 66%, 64%)
CMYKcmyk(13%, 66%, 0%, 36.5%)
CIE-LABlab(39.59, 52.09, -41.56)
CIE-LCHlch(39.59, 66.64, 321.41°)
OKLaboklab(50.17% 0.1346 -0.1162)
OKLCHoklch(50.17% 0.178 319.2)
XYZxyz(18.8714, 11.0046, 35.3055)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37A2 #4CA237
analogous
#5737A2 #8D37A2 #A23782
triadic
#8D37A2 #A28D37 #37A28D
tetradic
#8D37A2 #A25737 #4CA237 #3782A2
square
#8D37A2 #A25737 #4CA237 #3782A2
split-complementary
#8D37A2 #82A237 #37A257
monochromatic
#3D1847 #652774 #8D37A2 #AE52C4 #C380D4

Accessibility & contrast

On white

6.56
#8D37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D37A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37A2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37A2#FFFFFF#000000##FFFFFF
##8D37A21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#8D4A68
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d37a2;
/* rgb */ color: rgb(141, 55, 162);
/* oklch */ color: oklch(50.2% 0.178 319.2);
Tailwind
colors: {
  custom: {
    50: '#b174be',
    500: '#8d37a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d37a2;
$custom-light: #b174be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37a2",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 288.224,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.17783,
    "h": 319.2
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#8D37A2
secondary
#85BD78
accent
#D94F6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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