#8D2792#8D2792

#8D2792 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.184 H 326.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D2792
RGBrgb(141, 39, 146)
HSLhsl(297, 58%, 36%)
HSVhsv(297, 73%, 57%)
CMYKcmyk(3.4%, 73.3%, 0%, 42.7%)
CIE-LABlab(36.35, 55.51, -37.04)
CIE-LCHlch(36.35, 66.73, 326.29°)
OKLaboklab(47.54% 0.1524 -0.1029)
OKLCHoklch(47.54% 0.184 326)
XYZxyz(16.8980, 9.1902, 28.0724)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2792 #2C9227
analogous
#582792 #8D2792 #922762
triadic
#8D2792 #928D27 #27928D
tetradic
#8D2792 #925827 #2C9227 #276292
square
#8D2792 #925827 #2C9227 #276292
split-complementary
#8D2792 #629227 #279258
monochromatic
#300D31 #5E1A62 #8D2792 #BC34C2 #CF5FD4

Accessibility & contrast

On white

7.40
#8D2792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2792
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2792#FFFFFF#000000##FFFFFF
##8D27921.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D95
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#91395A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2792;
/* rgb */ color: rgb(141, 39, 146);
/* oklch */ color: oklch(47.5% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#b26cb2',
    500: '#8d2792',
    950: '#000000',
  },
}
SCSS
$custom: #8d2792;
$custom-light: #b26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2792",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 297.196,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4754,
    "c": 0.18388,
    "h": 326
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#8D2792
secondary
#60BA5B
accent
#E1474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2792

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

Preview Lab → · Contrast checker → · Palette generator →

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