#8D2A85#8D2A85

#8D2A85 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 331.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8D2A85
RGBrgb(141, 42, 133)
HSLhsl(305, 54%, 36%)
HSVhsv(305, 70%, 55%)
CMYKcmyk(0%, 70.2%, 5.7%, 44.7%)
CIE-LABlab(36.01, 52.16, -29.58)
CIE-LCHlch(36.01, 59.96, 330.45°)
OKLaboklab(47.06% 0.1489 -0.0813)
OKLCHoklch(47.06% 0.17 331.4)
XYZxyz(16.0461, 9.0133, 23.0804)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A85 #2A8D32
analogous
#632A8D #8D2A85 #8D2A54
triadic
#8D2A85 #858D2A #2A858D
tetradic
#8D2A85 #8D632A #2A8D32 #2A548D
square
#8D2A85 #8D632A #2A8D32 #2A548D
split-complementary
#8D2A85 #548D2A #2A8D63
monochromatic
#2F0E2C #5E1C59 #8D2A85 #BC38B1 #D061C7

Accessibility & contrast

On white

7.49
#8D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A85
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A85#FFFFFF#000000##FFFFFF
##8D2A851.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#933554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2a85;
/* rgb */ color: rgb(141, 42, 133);
/* oklch */ color: oklch(47.1% 0.170 331.4);
Tailwind
colors: {
  custom: {
    50: '#b16da9',
    500: '#8d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a85;
$custom-light: #b16da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a85",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 304.848,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.16967,
    "h": 331.4
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#8D2A85
secondary
#5DB664
accent
#DD564A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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