#8D2899#8D2899

#8D2899 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 323.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2899
RGBrgb(141, 40, 153)
HSLhsl(294, 59%, 38%)
HSVhsv(294, 74%, 60%)
CMYKcmyk(7.8%, 73.9%, 0%, 40%)
CIE-LABlab(36.89, 56.41, -40.43)
CIE-LCHlch(36.89, 69.40, 324.37°)
OKLaboklab(48.07% 0.1512 -0.1128)
OKLCHoklch(48.07% 0.189 323.3)
XYZxyz(17.4925, 9.4813, 31.0395)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2899 #349928
analogous
#542899 #8D2899 #99286D
triadic
#8D2899 #998D28 #28998D
tetradic
#8D2899 #995428 #349928 #286D99
square
#8D2899 #995428 #349928 #286D99
split-complementary
#8D2899 #6D9928 #289954
monochromatic
#340F38 #601B68 #8D2899 #BA35CA #CB65D7

Accessibility & contrast

On white

7.25
#8D2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2899
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2899#FFFFFF#000000##FFFFFF
##8D28991.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2899;
/* rgb */ color: rgb(141, 40, 153);
/* oklch */ color: oklch(48.1% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#b26db7',
    500: '#8d2899',
    950: '#000000',
  },
}
SCSS
$custom: #8d2899;
$custom-light: #b26db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2899",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 293.628,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.18861,
    "h": 323.3
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#8D2899
secondary
#6ABD60
accent
#E24657
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2899

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

Preview Lab → · Contrast checker → · Palette generator →

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