#8D3E8A#8D3E8A

#8D3E8A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.7% C 0.145 H 329.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D3E8A
RGBrgb(141, 62, 138)
HSLhsl(302, 39%, 40%)
HSVhsv(302, 56%, 55%)
CMYKcmyk(0%, 56%, 2.1%, 44.7%)
CIE-LABlab(39.49, 44.17, -27.20)
CIE-LCHlch(39.49, 51.87, 328.38°)
OKLaboklab(49.68% 0.124 -0.0746)
OKLCHoklch(49.68% 0.145 329)
XYZxyz(17.2944, 10.9440, 25.2413)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E8A #3E8D41
analogous
#683E8D #8D3E8A #8D3E63
triadic
#8D3E8A #8A8D3E #3E8A8D
tetradic
#8D3E8A #8D683E #3E8D41 #3E638D
square
#8D3E8A #8D683E #3E8D41 #3E638D
split-complementary
#8D3E8A #638D3E #3E8D68
monochromatic
#381937 #622B60 #8D3E8A #B454B0 #C77FC4

Accessibility & contrast

On white

6.59
#8D3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3E8A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E8A#FFFFFF#000000##FFFFFF
##8D3E8A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#91465E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d3e8a;
/* rgb */ color: rgb(141, 62, 138);
/* oklch */ color: oklch(49.7% 0.145 329.0);
Tailwind
colors: {
  custom: {
    50: '#b177ac',
    500: '#8d3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e8a;
$custom-light: #b177ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e8a",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 302.278,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.14473,
    "h": 329
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#8D3E8A
secondary
#76B178
accent
#CF5D59
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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