#8D2793#8D2793

#8D2793 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 325.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D2793
RGBrgb(141, 39, 147)
HSLhsl(297, 58%, 36%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(4.1%, 73.5%, 0%, 42.4%)
CIE-LABlab(36.41, 55.69, -37.55)
CIE-LCHlch(36.41, 67.17, 326.01°)
OKLaboklab(47.6% 0.1524 -0.1044)
OKLCHoklch(47.6% 0.185 325.6)
XYZxyz(16.9761, 9.2215, 28.4839)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2793 #2D9327
analogous
#572793 #8D2793 #932763
triadic
#8D2793 #938D27 #27938D
tetradic
#8D2793 #935727 #2D9327 #276393
square
#8D2793 #935727 #2D9327 #276393
split-complementary
#8D2793 #639327 #279357
monochromatic
#300D32 #5F1A63 #8D2793 #BB34C3 #CE60D5

Accessibility & contrast

On white

7.38
#8D2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2793
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2793#FFFFFF#000000##FFFFFF
##8D27931.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E96
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#90395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2793;
/* rgb */ color: rgb(141, 39, 147);
/* oklch */ color: oklch(47.6% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#b26cb3',
    500: '#8d2793',
    950: '#000000',
  },
}
SCSS
$custom: #8d2793;
$custom-light: #b26cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2793",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 296.667,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.18471,
    "h": 325.6
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#8D2793
secondary
#61BA5C
accent
#E1474F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2793

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

Preview Lab → · Contrast checker → · Palette generator →

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