#8D2E99#8D2E99

#8D2E99 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.181 H 323.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D2E99
RGBrgb(141, 46, 153)
HSLhsl(293, 54%, 39%)
HSVhsv(293, 70%, 60%)
CMYKcmyk(7.8%, 69.9%, 0%, 40%)
CIE-LABlab(37.69, 54.15, -39.15)
CIE-LCHlch(37.69, 66.82, 324.13°)
OKLaboklab(48.64% 0.145 -0.1091)
OKLCHoklch(48.64% 0.181 323)
XYZxyz(17.7107, 9.9176, 31.1122)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E99 #3A992E
analogous
#582E99 #8D2E99 #992E70
triadic
#8D2E99 #998D2E #2E998D
tetradic
#8D2E99 #99582E #3A992E #2E7099
square
#8D2E99 #99582E #3A992E #2E7099
split-complementary
#8D2E99 #70992E #2E9958
monochromatic
#36123B #62206A #8D2E99 #B63FC5 #C86ED3

Accessibility & contrast

On white

7.04
#8D2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E99
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E99#FFFFFF#000000##FFFFFF
##8D2E991.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#8F4060
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e99;
/* rgb */ color: rgb(141, 46, 153);
/* oklch */ color: oklch(48.6% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8d2e99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e99;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e99",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 293.271,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.18145,
    "h": 323
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#8D2E99
secondary
#71BB68
accent
#DD4B5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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