#8D37A7#8D37A7

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

Color values

HEX#8D37A7
RGBrgb(141, 55, 167)
HSLhsl(286, 50%, 44%)
HSVhsv(286, 67%, 65%)
CMYKcmyk(15.6%, 67.1%, 0%, 34.5%)
CIE-LABlab(39.89, 53.10, -44.07)
CIE-LCHlch(39.89, 69.00, 320.31°)
OKLaboklab(50.49% 0.1345 -0.1236)
OKLCHoklch(50.49% 0.183 317.4)
XYZxyz(19.3247, 11.1859, 37.6929)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37A7 #51A737
analogous
#5537A7 #8D37A7 #A73789
triadic
#8D37A7 #A78D37 #37A78D
tetradic
#8D37A7 #A75537 #51A737 #3789A7
square
#8D37A7 #A75537 #51A737 #3789A7
split-complementary
#8D37A7 #89A737 #37A755
monochromatic
#3F194B #662879 #8D37A7 #AC54C7 #C382D6

Accessibility & contrast

On white

6.49
#8D37A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D37A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37A7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37A7#FFFFFF#000000##FFFFFF
##8D37A71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0559AA
Deuteranopia (green-blind)
#3A61A4
Tritanopia (blue-blind)
#8C4C6A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d37a7;
/* rgb */ color: rgb(141, 55, 167);
/* oklch */ color: oklch(50.5% 0.183 317.4);
Tailwind
colors: {
  custom: {
    50: '#b274c2',
    500: '#8d37a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d37a7;
$custom-light: #b274c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37a7",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 286.071,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.18261,
    "h": 317.4
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#8D37A7
secondary
#8AC07A
accent
#DA4E6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8D37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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