#8D2F8E#8D2F8E

#8D2F8E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.171 H 327.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8D2F8E
RGBrgb(141, 47, 142)
HSLhsl(299, 50%, 37%)
HSVhsv(299, 67%, 56%)
CMYKcmyk(0.7%, 66.9%, 0%, 44.3%)
CIE-LABlab(37.21, 51.73, -33.23)
CIE-LCHlch(37.21, 61.48, 327.28°)
OKLaboklab(48.08% 0.1437 -0.0919)
OKLCHoklch(48.08% 0.171 327.4)
XYZxyz(16.8832, 9.6499, 26.5593)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F8E #308E2F
analogous
#5D2F8E #8D2F8E #8E2F60
triadic
#8D2F8E #8E8D2F #2F8E8D
tetradic
#8D2F8E #8E5D2F #308E2F #2F608E
square
#8D2F8E #8E5D2F #308E2F #2F608E
split-complementary
#8D2F8E #608E2F #2F8E5D
monochromatic
#321132 #5F2060 #8D2F8E #BB3EBC #CD6ACE

Accessibility & contrast

On white

7.17
#8D2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D2F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F8E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F8E#FFFFFF#000000##FFFFFF
##8D2F8E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#913C5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2f8e;
/* rgb */ color: rgb(141, 47, 142);
/* oklch */ color: oklch(48.1% 0.171 327.4);
Tailwind
colors: {
  custom: {
    50: '#b16faf',
    500: '#8d2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f8e;
$custom-light: #b16faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f8e",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 299.368,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.1706,
    "h": 327.4
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#8D2F8E
secondary
#65B564
accent
#DA4E50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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