#8D2C94#8D2C94

#8D2C94 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.180 H 325.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8D2C94
RGBrgb(141, 44, 148)
HSLhsl(296, 54%, 38%)
HSVhsv(296, 70%, 58%)
CMYKcmyk(4.7%, 70.3%, 0%, 42%)
CIE-LABlab(37.12, 54.01, -37.03)
CIE-LCHlch(37.12, 65.48, 325.57°)
OKLaboklab(48.13% 0.1472 -0.1029)
OKLCHoklch(48.13% 0.18 325)
XYZxyz(17.2301, 9.6033, 28.9573)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C94 #33942C
analogous
#592C94 #8D2C94 #942C67
triadic
#8D2C94 #948D2C #2C948D
tetradic
#8D2C94 #94592C #33942C #2C6794
square
#8D2C94 #94592C #33942C #2C6794
split-complementary
#8D2C94 #67942C #2C9459
monochromatic
#331036 #601E65 #8D2C94 #BA3AC3 #CB68D2

Accessibility & contrast

On white

7.19
#8D2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C94
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C94#FFFFFF#000000##FFFFFF
##8D2C941.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#903D5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2c94;
/* rgb */ color: rgb(141, 44, 148);
/* oklch */ color: oklch(48.1% 0.180 325.0);
Tailwind
colors: {
  custom: {
    50: '#b26eb4',
    500: '#8d2c94',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c94;
$custom-light: #b26eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c94",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 295.962,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.17961,
    "h": 325
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#8D2C94
secondary
#69B963
accent
#DE4A54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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