#8D297D#8D297D

#8D297D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.165 H 335.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D297D
RGBrgb(141, 41, 125)
HSLhsl(310, 55%, 36%)
HSVhsv(310, 71%, 55%)
CMYKcmyk(0%, 70.9%, 11.3%, 44.7%)
CIE-LABlab(35.46, 51.24, -25.47)
CIE-LCHlch(35.46, 57.22, 333.57°)
OKLaboklab(46.53% 0.1493 -0.0695)
OKLCHoklch(46.53% 0.165 335)
XYZxyz(15.4793, 8.7306, 20.2680)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D297D #298D39
analogous
#6B298D #8D297D #8D294B
triadic
#8D297D #7D8D29 #297D8D
tetradic
#8D297D #8D6B29 #298D39 #294B8D
square
#8D297D #8D6B29 #298D39 #294B8D
split-complementary
#8D297D #4B8D29 #298D6B
monochromatic
#2E0D29 #5E1B53 #8D297D #BC37A7 #D160BF

Accessibility & contrast

On white

7.65
#8D297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D297D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D297D#FFFFFF#000000##FFFFFF
##8D297D1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#94304F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d297d;
/* rgb */ color: rgb(141, 41, 125);
/* oklch */ color: oklch(46.5% 0.165 335.0);
Tailwind
colors: {
  custom: {
    50: '#b16ca3',
    500: '#8d297d',
    950: '#000000',
  },
}
SCSS
$custom: #8d297d;
$custom-light: #b16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d297d",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 309.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.1647,
    "h": 335
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#8D297D
secondary
#5BB66A
accent
#DE614A
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D297D

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

Preview Lab → · Contrast checker → · Palette generator →

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