#8D2CAC#8D2CAC

#8D2CAC is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 316.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D2CAC
RGBrgb(141, 44, 172)
HSLhsl(285, 59%, 42%)
HSVhsv(285, 74%, 67%)
CMYKcmyk(18%, 74.4%, 0%, 32.5%)
CIE-LABlab(38.63, 58.58, -49.08)
CIE-LCHlch(38.63, 76.42, 320.04°)
OKLaboklab(49.69% 0.1456 -0.1382)
OKLCHoklch(49.69% 0.201 316.5)
XYZxyz(19.3304, 10.4434, 40.0193)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CAC #4BAC2C
analogous
#4D2CAC #8D2CAC #AC2C8B
triadic
#8D2CAC #AC8D2C #2CAC8D
tetradic
#8D2CAC #AC4D2C #4BAC2C #2C8BAC
square
#8D2CAC #AC4D2C #4BAC2C #2C8BAC
split-complementary
#8D2CAC #8BAC2C #2CAC4D
monochromatic
#3D134B #65207B #8D2CAC #AE46D0 #C376DC

Accessibility & contrast

On white

6.80
#8D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CAC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CAC#FFFFFF#000000##FFFFFF
##8D2CAC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#8B476A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2cac;
/* rgb */ color: rgb(141, 44, 172);
/* oklch */ color: oklch(49.7% 0.201 316.5);
Tailwind
colors: {
  custom: {
    50: '#b26fc5',
    500: '#8d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cac;
$custom-light: #b26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cac",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 285.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.20075,
    "h": 316.5
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#8D2CAC
secondary
#84C470
accent
#E2456B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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