#8D2CAA#8D2CAA

#8D2CAA is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 317.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2CAA
RGBrgb(141, 44, 170)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(38.49, 58.18, -48.10)
CIE-LCHlch(38.49, 75.49, 320.42°)
OKLaboklab(49.55% 0.1459 -0.1353)
OKLCHoklch(49.55% 0.199 317.2)
XYZxyz(19.1398, 10.3672, 39.0153)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CAA #49AA2C
analogous
#4E2CAA #8D2CAA #AA2C88
triadic
#8D2CAA #AA8D2C #2CAA8D
tetradic
#8D2CAA #AA4E2C #49AA2C #2C88AA
square
#8D2CAA #AA4E2C #49AA2C #2C88AA
split-complementary
#8D2CAA #88AA2C #2CAA4E
monochromatic
#3C1349 #651F79 #8D2CAA #AF44CF #C475DB

Accessibility & contrast

On white

6.83
#8D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CAA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CAA#FFFFFF#000000##FFFFFF
##8D2CAA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#2F5DA7
Tritanopia (blue-blind)
#8C4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2caa;
/* rgb */ color: rgb(141, 44, 170);
/* oklch */ color: oklch(49.6% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#b26fc4',
    500: '#8d2caa',
    950: '#000000',
  },
}
SCSS
$custom: #8d2caa;
$custom-light: #b26fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2caa",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 286.19,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.19895,
    "h": 317.2
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#8D2CAA
secondary
#82C36F
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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