#8D2E7E#8D2E7E

#8D2E7E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.159 H 334.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2E7E
RGBrgb(141, 46, 126)
HSLhsl(309, 51%, 37%)
HSVhsv(309, 67%, 55%)
CMYKcmyk(0%, 67.4%, 10.6%, 44.7%)
CIE-LABlab(36.22, 49.40, -24.90)
CIE-LCHlch(36.22, 55.32, 333.25°)
OKLaboklab(47.1% 0.1436 -0.0679)
OKLCHoklch(47.1% 0.159 334.7)
XYZxyz(15.7275, 9.1244, 20.6675)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E7E #2E8D3D
analogous
#6D2E8D #8D2E7E #8D2E4F
triadic
#8D2E7E #7E8D2E #2E7E8D
tetradic
#8D2E7E #8D6D2E #2E8D3D #2E4F8D
square
#8D2E7E #8D6D2E #2E8D3D #2E4F8D
split-complementary
#8D2E7E #4F8D2E #2E8D6D
monochromatic
#31102C #5F1F55 #8D2E7E #BB3DA7 #CE68BE

Accessibility & contrast

On white

7.43
#8D2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E7E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E7E#FFFFFF#000000##FFFFFF
##8D2E7E1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#4D5A7C
Tritanopia (blue-blind)
#943552
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e7e;
/* rgb */ color: rgb(141, 46, 126);
/* oklch */ color: oklch(47.1% 0.159 334.7);
Tailwind
colors: {
  custom: {
    50: '#b16ea3',
    500: '#8d2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e7e;
$custom-light: #b16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e7e",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 309.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.15881,
    "h": 334.7
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#8D2E7E
secondary
#62B56F
accent
#DA644E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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