#8D4F99#8D4F99

#8D4F99 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 52.9% C 0.131 H 320.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D4F99
RGBrgb(141, 79, 153)
HSLhsl(290, 32%, 45%)
HSVhsv(290, 48%, 60%)
CMYKcmyk(7.8%, 48.4%, 0%, 40%)
CIE-LABlab(43.59, 38.20, -29.84)
CIE-LCHlch(43.59, 48.47, 322.00°)
OKLaboklab(52.95% 0.1015 -0.0824)
OKLCHoklch(52.95% 0.131 320.9)
XYZxyz(19.5296, 13.5554, 31.7185)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4F99 #5B994F
analogous
#684F99 #8D4F99 #994F80
triadic
#8D4F99 #998D4F #4F998D
tetradic
#8D4F99 #99684F #5B994F #4F8099
square
#8D4F99 #99684F #5B994F #4F8099
split-complementary
#8D4F99 #80994F #4F9968
monochromatic
#432548 #683A71 #8D4F99 #AA70B5 #C298CA

Accessibility & contrast

On white

5.66
#8D4F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D4F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4F99
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4F99#FFFFFF#000000##FFFFFF
##8D4F991.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#8E596D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d4f99;
/* rgb */ color: rgb(141, 79, 153);
/* oklch */ color: oklch(52.9% 0.131 320.9);
Tailwind
colors: {
  custom: {
    50: '#b082b7',
    500: '#8d4f99',
    950: '#000000',
  },
}
SCSS
$custom: #8d4f99;
$custom-light: #b082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4f99",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 290.27,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.13076,
    "h": 320.9
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#8D4F99
secondary
#94B78D
accent
#C86071
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8D4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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