#8D2CA7#8D2CA7

#8D2CA7 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.196 H 318.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA7
RGBrgb(141, 44, 167)
HSLhsl(287, 58%, 41%)
HSVhsv(287, 74%, 65%)
CMYKcmyk(15.6%, 73.7%, 0%, 34.5%)
CIE-LABlab(38.30, 57.59, -46.62)
CIE-LCHlch(38.30, 74.10, 321.01°)
OKLaboklab(49.35% 0.1462 -0.131)
OKLCHoklch(49.35% 0.196 318.1)
XYZxyz(18.8593, 10.2550, 37.5377)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA7 #46A72C
analogous
#502CA7 #8D2CA7 #A72C84
triadic
#8D2CA7 #A78D2C #2CA78D
tetradic
#8D2CA7 #A7502C #46A72C #2C84A7
square
#8D2CA7 #A7502C #46A72C #2C84A7
split-complementary
#8D2CA7 #84A72C #2CA750
monochromatic
#3B1246 #641F77 #8D2CA7 #B043CD #C473DA

Accessibility & contrast

On white

6.88
#8D2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CA7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA7#FFFFFF#000000##FFFFFF
##8D2CA71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#325DA4
Tritanopia (blue-blind)
#8C4567
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ca7;
/* rgb */ color: rgb(141, 44, 167);
/* oklch */ color: oklch(49.3% 0.196 318.1);
Tailwind
colors: {
  custom: {
    50: '#b26fc2',
    500: '#8d2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca7;
$custom-light: #b26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca7",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 287.317,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.19627,
    "h": 318.1
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#8D2CA7
secondary
#7FC26D
accent
#E24667
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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