#8D2E8B#8D2E8B

#8D2E8B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.169 H 328.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2E8B
RGBrgb(141, 46, 139)
HSLhsl(301, 51%, 37%)
HSVhsv(301, 67%, 55%)
CMYKcmyk(0%, 67.4%, 1.4%, 44.7%)
CIE-LABlab(36.90, 51.61, -31.88)
CIE-LCHlch(36.90, 60.66, 328.30°)
OKLaboklab(47.81% 0.1447 -0.088)
OKLCHoklch(47.81% 0.169 328.7)
XYZxyz(16.6215, 9.4820, 25.3758)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E8B #2E8D30
analogous
#602E8D #8D2E8B #8D2E5C
triadic
#8D2E8B #8B8D2E #2E8B8D
tetradic
#8D2E8B #8D602E #2E8D30 #2E5C8D
square
#8D2E8B #8D602E #2E8D30 #2E5C8D
split-complementary
#8D2E8B #5C8D2E #2E8D60
monochromatic
#311030 #5F1F5E #8D2E8B #BB3DB8 #CE68CC

Accessibility & contrast

On white

7.25
#8D2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E8B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E8B#FFFFFF#000000##FFFFFF
##8D2E8B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#923A58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2e8b;
/* rgb */ color: rgb(141, 46, 139);
/* oklch */ color: oklch(47.8% 0.169 328.7);
Tailwind
colors: {
  custom: {
    50: '#b16fad',
    500: '#8d2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e8b;
$custom-light: #b16fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e8b",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 301.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.16938,
    "h": 328.7
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#8D2E8B
secondary
#62B564
accent
#DA504E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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