#8D37AB#8D37AB

#8D37AB is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 316.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8D37AB
RGBrgb(141, 55, 171)
HSLhsl(284, 51%, 44%)
HSVhsv(284, 68%, 67%)
CMYKcmyk(17.5%, 67.8%, 0%, 32.9%)
CIE-LABlab(40.14, 53.92, -46.05)
CIE-LCHlch(40.14, 70.90, 319.50°)
OKLaboklab(50.75% 0.1343 -0.1294)
OKLCHoklch(50.75% 0.186 316.1)
XYZxyz(19.7002, 11.3361, 39.6705)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37AB #55AB37
analogous
#5337AB #8D37AB #AB378F
triadic
#8D37AB #AB8D37 #37AB8D
tetradic
#8D37AB #AB5337 #55AB37 #378FAB
square
#8D37AB #AB5337 #55AB37 #378FAB
split-complementary
#8D37AB #8FAB37 #37AB53
monochromatic
#41194E #67287D #8D37AB #AB56C9 #C285D8

Accessibility & contrast

On white

6.43
#8D37AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D37AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37AB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37AB#FFFFFF#000000##FFFFFF
##8D37AB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#8B4D6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d37ab;
/* rgb */ color: rgb(141, 55, 171);
/* oklch */ color: oklch(50.7% 0.186 316.1);
Tailwind
colors: {
  custom: {
    50: '#b275c5',
    500: '#8d37ab',
    950: '#000000',
  },
}
SCSS
$custom: #8d37ab;
$custom-light: #b275c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37ab",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 284.483,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.18646,
    "h": 316.1
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#8D37AB
secondary
#8EC17C
accent
#DB4D72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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