#8D3F8A#8D3F8A

#8D3F8A is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.8% C 0.143 H 328.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8D3F8A
RGBrgb(141, 63, 138)
HSLhsl(302, 38%, 40%)
HSVhsv(302, 55%, 55%)
CMYKcmyk(0%, 55.3%, 2.1%, 44.7%)
CIE-LABlab(39.67, 43.67, -26.91)
CIE-LCHlch(39.67, 51.29, 328.36°)
OKLaboklab(49.81% 0.1226 -0.0738)
OKLCHoklch(49.81% 0.143 328.9)
XYZxyz(17.3493, 11.0538, 25.2596)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F8A #3F8D42
analogous
#693F8D #8D3F8A #8D3F63
triadic
#8D3F8A #8A8D3F #3F8A8D
tetradic
#8D3F8A #8D693F #3F8D42 #3F638D
square
#8D3F8A #8D693F #3F8D42 #3F638D
split-complementary
#8D3F8A #638D3F #3F8D69
monochromatic
#381937 #632C61 #8D3F8A #B356B0 #C680C4

Accessibility & contrast

On white

6.54
#8D3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3F8A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F8A#FFFFFF#000000##FFFFFF
##8D3F8A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3f8a;
/* rgb */ color: rgb(141, 63, 138);
/* oklch */ color: oklch(49.8% 0.143 328.9);
Tailwind
colors: {
  custom: {
    50: '#b078ac',
    500: '#8d3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f8a;
$custom-light: #b078ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f8a",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 302.308,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.1431,
    "h": 328.9
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#8D3F8A
secondary
#77B179
accent
#CE5E5A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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