#8D2799#8D2799

#8D2799 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 323.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8D2799
RGBrgb(141, 39, 153)
HSLhsl(294, 59%, 38%)
HSVhsv(294, 75%, 60%)
CMYKcmyk(7.8%, 74.5%, 0%, 40%)
CIE-LABlab(36.77, 56.77, -40.63)
CIE-LCHlch(36.77, 69.81, 324.41°)
OKLaboklab(47.98% 0.1521 -0.1134)
OKLCHoklch(47.98% 0.19 323.3)
XYZxyz(17.4593, 9.4147, 31.0284)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2799 #339927
analogous
#542799 #8D2799 #99276C
triadic
#8D2799 #998D27 #27998D
tetradic
#8D2799 #995427 #339927 #276C99
square
#8D2799 #995427 #339927 #276C99
split-complementary
#8D2799 #6C9927 #279954
monochromatic
#330E37 #601B68 #8D2799 #BA33CA #CB63D7

Accessibility & contrast

On white

7.28
#8D2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2799
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2799#FFFFFF#000000##FFFFFF
##8D27991.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#8F3C5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2799;
/* rgb */ color: rgb(141, 39, 153);
/* oklch */ color: oklch(48.0% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#b26cb7',
    500: '#8d2799',
    950: '#000000',
  },
}
SCSS
$custom: #8d2799;
$custom-light: #b26cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2799",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 293.684,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.18972,
    "h": 323.3
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#8D2799
secondary
#69BD5F
accent
#E34556
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2799

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

Preview Lab → · Contrast checker → · Palette generator →

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