#8D528D#8D528D

#8D528D is a mid, moderate purple. Relative luminance 0.136; OKLCH L 52.8% C 0.113 H 327.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D528D
RGBrgb(141, 82, 141)
HSLhsl(300, 26%, 44%)
HSVhsv(300, 42%, 55%)
CMYKcmyk(0%, 41.8%, 0%, 44.7%)
CIE-LABlab(43.68, 34.11, -22.49)
CIE-LCHlch(43.68, 40.85, 326.61°)
OKLaboklab(52.84% 0.0946 -0.0614)
OKLCHoklch(52.84% 0.113 327)
XYZxyz(18.8092, 13.6213, 26.8325)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D528D #528D52
analogous
#6F528D #8D528D #8D526F
triadic
#8D528D #8D8D52 #528D8D
tetradic
#8D528D #8D6F52 #528D52 #526F8D
square
#8D528D #8D6F52 #528D52 #526F8D
split-complementary
#8D528D #6F8D52 #528D6F
monochromatic
#402540 #663B66 #8D528D #AC70AC #C297C2

Accessibility & contrast

On white

5.64
#8D528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8D528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D528D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D528D#FFFFFF#000000##FFFFFF
##8D528D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#905869
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d528d;
/* rgb */ color: rgb(141, 82, 141);
/* oklch */ color: oklch(52.8% 0.113 327.0);
Tailwind
colors: {
  custom: {
    50: '#b084ae',
    500: '#8d528d',
    950: '#000000',
  },
}
SCSS
$custom: #8d528d;
$custom-light: #b084ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d528d",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.11275,
    "h": 327
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#8D528D
secondary
#8BAF8B
accent
#C36565
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D528D

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

Preview Lab → · Contrast checker → · Palette generator →

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