#8D2CA9#8D2CA9

#8D2CA9 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 317.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA9
RGBrgb(141, 44, 169)
HSLhsl(287, 59%, 42%)
HSVhsv(287, 74%, 66%)
CMYKcmyk(16.6%, 74%, 0%, 33.7%)
CIE-LABlab(38.43, 57.99, -47.61)
CIE-LCHlch(38.43, 75.03, 320.61°)
OKLaboklab(49.48% 0.146 -0.1339)
OKLCHoklch(49.48% 0.198 317.5)
XYZxyz(19.0456, 10.3295, 38.5190)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA9 #48A92C
analogous
#4F2CA9 #8D2CA9 #A92C87
triadic
#8D2CA9 #A98D2C #2CA98D
tetradic
#8D2CA9 #A94F2C #48A92C #2C87A9
square
#8D2CA9 #A94F2C #48A92C #2C87A9
split-complementary
#8D2CA9 #87A92C #2CA94F
monochromatic
#3C1348 #641F78 #8D2CA9 #AF44CE #C474DB

Accessibility & contrast

On white

6.85
#8D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2CA9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA9#FFFFFF#000000##FFFFFF
##8D2CA91.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#305DA6
Tritanopia (blue-blind)
#8C4668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ca9;
/* rgb */ color: rgb(141, 44, 169);
/* oklch */ color: oklch(49.5% 0.198 317.5);
Tailwind
colors: {
  custom: {
    50: '#b26fc3',
    500: '#8d2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca9;
$custom-light: #b26fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca9",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 286.56,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.19805,
    "h": 317.5
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#8D2CA9
secondary
#81C36E
accent
#E24669
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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