#8D2E85#8D2E85

#8D2E85 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.164 H 331.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D2E85
RGBrgb(141, 46, 133)
HSLhsl(305, 51%, 37%)
HSVhsv(305, 67%, 55%)
CMYKcmyk(0%, 67.4%, 5.7%, 44.7%)
CIE-LABlab(36.58, 50.57, -28.69)
CIE-LCHlch(36.58, 58.14, 330.44°)
OKLaboklab(47.47% 0.1443 -0.0788)
OKLCHoklch(47.47% 0.164 331.4)
XYZxyz(16.1951, 9.3114, 23.1301)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E85 #2E8D36
analogous
#662E8D #8D2E85 #8D2E56
triadic
#8D2E85 #858D2E #2E858D
tetradic
#8D2E85 #8D662E #2E8D36 #2E568D
square
#8D2E85 #8D662E #2E8D36 #2E568D
split-complementary
#8D2E85 #568D2E #2E8D66
monochromatic
#31102E #5F1F59 #8D2E85 #BB3DB1 #CE68C5

Accessibility & contrast

On white

7.34
#8D2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E85
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E85#FFFFFF#000000##FFFFFF
##8D2E851.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#933855
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2e85;
/* rgb */ color: rgb(141, 46, 133);
/* oklch */ color: oklch(47.5% 0.164 331.4);
Tailwind
colors: {
  custom: {
    50: '#b16fa9',
    500: '#8d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e85;
$custom-light: #b16fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e85",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 305.053,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.16441,
    "h": 331.4
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#8D2E85
secondary
#62B569
accent
#DA594E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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