#8D4F8D#8D4F8D

#8D4F8D is a mid, moderate purple. Relative luminance 0.132; OKLCH L 52.3% C 0.118 H 327.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D4F8D
RGBrgb(141, 79, 141)
HSLhsl(300, 28%, 43%)
HSVhsv(300, 44%, 55%)
CMYKcmyk(0%, 44%, 0%, 44.7%)
CIE-LABlab(43.03, 35.78, -23.50)
CIE-LCHlch(43.03, 42.81, 326.71°)
OKLaboklab(52.35% 0.0993 -0.0642)
OKLCHoklch(52.35% 0.118 327.1)
XYZxyz(18.5879, 13.1787, 26.7588)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4F8D #4F8D4F
analogous
#6E4F8D #8D4F8D #8D4F6E
triadic
#8D4F8D #8D8D4F #4F8D8D
tetradic
#8D4F8D #8D6E4F #4F8D4F #4F6E8D
square
#8D4F8D #8D6E4F #4F8D4F #4F6E8D
split-complementary
#8D4F8D #6E8D4F #4F8D6E
monochromatic
#3F233F #663966 #8D4F8D #AD6CAD #C394C3

Accessibility & contrast

On white

5.78
#8D4F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D4F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4F8D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4F8D#FFFFFF#000000##FFFFFF
##8D4F8D1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#5B688B
Tritanopia (blue-blind)
#905567
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4f8d;
/* rgb */ color: rgb(141, 79, 141);
/* oklch */ color: oklch(52.3% 0.118 327.1);
Tailwind
colors: {
  custom: {
    50: '#b082ae',
    500: '#8d4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d4f8d;
$custom-light: #b082ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4f8d",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.11822,
    "h": 327.1
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#8D4F8D
secondary
#88AF88
accent
#C46363
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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