#8D2D93#8D2D93

#8D2D93 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.177 H 325.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8D2D93
RGBrgb(141, 45, 147)
HSLhsl(296, 53%, 38%)
HSVhsv(296, 69%, 58%)
CMYKcmyk(4.1%, 69.4%, 0%, 42.4%)
CIE-LABlab(37.20, 53.44, -36.29)
CIE-LCHlch(37.20, 64.59, 325.82°)
OKLaboklab(48.17% 0.1461 -0.1008)
OKLCHoklch(48.17% 0.178 325.4)
XYZxyz(17.1890, 9.6472, 28.5548)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D93 #33932D
analogous
#5A2D93 #8D2D93 #932D66
triadic
#8D2D93 #938D2D #2D938D
tetradic
#8D2D93 #935A2D #33932D #2D6693
square
#8D2D93 #935A2D #33932D #2D6693
split-complementary
#8D2D93 #66932D #2D935A
monochromatic
#331035 #601F64 #8D2D93 #BA3BC2 #CB69D1

Accessibility & contrast

On white

7.17
#8D2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D93
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D93#FFFFFF#000000##FFFFFF
##8D2D931.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#425C90
Tritanopia (blue-blind)
#903D5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d93;
/* rgb */ color: rgb(141, 45, 147);
/* oklch */ color: oklch(48.2% 0.177 325.4);
Tailwind
colors: {
  custom: {
    50: '#b16fb3',
    500: '#8d2d93',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d93;
$custom-light: #b16fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d93",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 296.471,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.1775,
    "h": 325.4
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#8D2D93
secondary
#69B864
accent
#DD4B54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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