#8D2F8D#8D2F8D

#8D2F8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.170 H 327.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D2F8D
RGBrgb(141, 47, 141)
HSLhsl(300, 50%, 37%)
HSVhsv(300, 67%, 55%)
CMYKcmyk(0%, 66.7%, 0%, 44.7%)
CIE-LABlab(37.15, 51.55, -32.70)
CIE-LCHlch(37.15, 61.05, 327.61°)
OKLaboklab(48.03% 0.1437 -0.0904)
OKLCHoklch(48.03% 0.17 327.8)
XYZxyz(16.8085, 9.6200, 26.1657)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F8D #2F8D2F
analogous
#5E2F8D #8D2F8D #8D2F5E
triadic
#8D2F8D #8D8D2F #2F8D8D
tetradic
#8D2F8D #8D5E2F #2F8D2F #2F5E8D
square
#8D2F8D #8D5E2F #2F8D2F #2F5E8D
split-complementary
#8D2F8D #5E8D2F #2F8D5E
monochromatic
#311031 #5F205F #8D2F8D #BB3EBB #CD69CD

Accessibility & contrast

On white

7.18
#8D2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F8D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F8D#FFFFFF#000000##FFFFFF
##8D2F8D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#465C8A
Tritanopia (blue-blind)
#913C5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2f8d;
/* rgb */ color: rgb(141, 47, 141);
/* oklch */ color: oklch(48.0% 0.170 327.8);
Tailwind
colors: {
  custom: {
    50: '#b16faf',
    500: '#8d2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f8d;
$custom-light: #b16faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f8d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.16974,
    "h": 327.8
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#8D2F8D
secondary
#64B464
accent
#DA4E4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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