#8D2A93#8D2A93

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

Color values

HEX#8D2A93
RGBrgb(141, 42, 147)
HSLhsl(297, 56%, 37%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(4.1%, 71.4%, 0%, 42.4%)
CIE-LABlab(36.79, 54.59, -36.94)
CIE-LCHlch(36.79, 65.92, 325.92°)
OKLaboklab(47.88% 0.1493 -0.1027)
OKLCHoklch(47.88% 0.181 325.5)
XYZxyz(17.0786, 9.4263, 28.5180)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A93 #30932A
analogous
#582A93 #8D2A93 #932A65
triadic
#8D2A93 #938D2A #2A938D
tetradic
#8D2A93 #93582A #30932A #2A6593
square
#8D2A93 #93582A #30932A #2A6593
split-complementary
#8D2A93 #65932A #2A9358
monochromatic
#320F34 #5F1C63 #8D2A93 #BB38C3 #CD65D3

Accessibility & contrast

On white

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

On black

2.89
#8D2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D2A93#FFFFFF#000000##FFFFFF
##8D2A931.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#405B90
Tritanopia (blue-blind)
#903B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2a93;
/* rgb */ color: rgb(141, 42, 147);
/* oklch */ color: oklch(47.9% 0.181 325.5);
Tailwind
colors: {
  custom: {
    50: '#b26db3',
    500: '#8d2a93',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a93;
$custom-light: #b26db3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a93",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 296.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.1812,
    "h": 325.5
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#8D2A93
secondary
#65B960
accent
#DF4951
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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