#8D37A3#8D37A3

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

Color values

HEX#8D37A3
RGBrgb(141, 55, 163)
HSLhsl(288, 50%, 43%)
HSVhsv(288, 66%, 64%)
CMYKcmyk(13.5%, 66.3%, 0%, 36.1%)
CIE-LABlab(39.65, 52.29, -42.06)
CIE-LCHlch(39.65, 67.11, 321.19°)
OKLaboklab(50.24% 0.1346 -0.1177)
OKLCHoklch(50.24% 0.179 318.8)
XYZxyz(18.9607, 11.0403, 35.7755)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37A3 #4DA337
analogous
#5737A3 #8D37A3 #A33783
triadic
#8D37A3 #A38D37 #37A38D
tetradic
#8D37A3 #A35737 #4DA337 #3783A3
square
#8D37A3 #A35737 #4DA337 #3783A3
split-complementary
#8D37A3 #83A337 #37A357
monochromatic
#3E1847 #652875 #8D37A3 #AD52C5 #C380D4

Accessibility & contrast

On white

6.55
#8D37A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D37A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37A3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37A3#FFFFFF#000000##FFFFFF
##8D37A31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#3D60A0
Tritanopia (blue-blind)
#8D4A68
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d37a3;
/* rgb */ color: rgb(141, 55, 163);
/* oklch */ color: oklch(50.2% 0.179 318.8);
Tailwind
colors: {
  custom: {
    50: '#b174bf',
    500: '#8d37a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d37a3;
$custom-light: #b174bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37a3",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 287.778,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.17879,
    "h": 318.8
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#8D37A3
secondary
#86BE78
accent
#D94F6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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