#8D297E#8D297E

#8D297E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.165 H 334.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8D297E
RGBrgb(141, 41, 126)
HSLhsl(309, 55%, 36%)
HSVhsv(309, 71%, 55%)
CMYKcmyk(0%, 70.9%, 10.6%, 44.7%)
CIE-LABlab(35.51, 51.40, -26.01)
CIE-LCHlch(35.51, 57.61, 333.15°)
OKLaboklab(46.58% 0.1494 -0.0711)
OKLCHoklch(46.58% 0.165 334.6)
XYZxyz(15.5435, 8.7563, 20.6061)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D297E #298D38
analogous
#6A298D #8D297E #8D294C
triadic
#8D297E #7E8D29 #297E8D
tetradic
#8D297E #8D6A29 #298D38 #294C8D
square
#8D297E #8D6A29 #298D38 #294C8D
split-complementary
#8D297E #4C8D29 #298D6A
monochromatic
#2E0D29 #5E1B54 #8D297E #BC37A8 #D160C0

Accessibility & contrast

On white

7.63
#8D297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D297E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D297E#FFFFFF#000000##FFFFFF
##8D297E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#943150
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d297e;
/* rgb */ color: rgb(141, 41, 126);
/* oklch */ color: oklch(46.6% 0.165 334.6);
Tailwind
colors: {
  custom: {
    50: '#b16ca3',
    500: '#8d297e',
    950: '#000000',
  },
}
SCSS
$custom: #8d297e;
$custom-light: #b16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d297e",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 309,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.16546,
    "h": 334.6
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#8D297E
secondary
#5BB669
accent
#DE604A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D297E

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

Preview Lab → · Contrast checker → · Palette generator →

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