#8D2F7E#8D2F7E

#8D2F7E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.157 H 334.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8D2F7E
RGBrgb(141, 47, 126)
HSLhsl(310, 50%, 37%)
HSVhsv(310, 67%, 55%)
CMYKcmyk(0%, 66.7%, 10.6%, 44.7%)
CIE-LABlab(36.37, 48.98, -24.67)
CIE-LCHlch(36.37, 54.84, 333.27°)
OKLaboklab(47.21% 0.1423 -0.0673)
OKLCHoklch(47.21% 0.157 334.7)
XYZxyz(15.7670, 9.2034, 20.6806)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F7E #2F8D3E
analogous
#6D2F8D #8D2F7E #8D2F4F
triadic
#8D2F7E #7E8D2F #2F7E8D
tetradic
#8D2F7E #8D6D2F #2F8D3E #2F4F8D
square
#8D2F7E #8D6D2F #2F8D3E #2F4F8D
split-complementary
#8D2F7E #4F8D2F #2F8D6D
monochromatic
#31102C #5F2055 #8D2F7E #BB3EA7 #CD69BD

Accessibility & contrast

On white

7.39
#8D2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F7E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F7E#FFFFFF#000000##FFFFFF
##8D2F7E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#943652
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2f7e;
/* rgb */ color: rgb(141, 47, 126);
/* oklch */ color: oklch(47.2% 0.157 334.7);
Tailwind
colors: {
  custom: {
    50: '#b16fa3',
    500: '#8d2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f7e;
$custom-light: #b16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f7e",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 309.574,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.15741,
    "h": 334.7
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#8D2F7E
secondary
#64B470
accent
#DA654E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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