#8D2DA9#8D2DA9

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

Color values

HEX#8D2DA9
RGBrgb(141, 45, 169)
HSLhsl(286, 58%, 42%)
HSVhsv(286, 73%, 66%)
CMYKcmyk(16.6%, 73.4%, 0%, 33.7%)
CIE-LABlab(38.56, 57.61, -47.40)
CIE-LCHlch(38.56, 74.60, 320.56°)
OKLaboklab(49.58% 0.145 -0.1332)
OKLCHoklch(49.58% 0.197 317.4)
XYZxyz(19.0833, 10.4049, 38.5316)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DA9 #49A92D
analogous
#4F2DA9 #8D2DA9 #A92D87
triadic
#8D2DA9 #A98D2D #2DA98D
tetradic
#8D2DA9 #A94F2D #49A92D #2D87A9
square
#8D2DA9 #A94F2D #49A92D #2D87A9
split-complementary
#8D2DA9 #87A92D #2DA94F
monochromatic
#3C1348 #652079 #8D2DA9 #AF46CE #C476DA

Accessibility & contrast

On white

6.82
#8D2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DA9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DA9#FFFFFF#000000##FFFFFF
##8D2DA91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#305EA6
Tritanopia (blue-blind)
#8C4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2da9;
/* rgb */ color: rgb(141, 45, 169);
/* oklch */ color: oklch(49.6% 0.197 317.4);
Tailwind
colors: {
  custom: {
    50: '#b270c3',
    500: '#8d2da9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2da9;
$custom-light: #b270c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2da9",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 286.452,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.19692,
    "h": 317.4
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#8D2DA9
secondary
#82C26F
accent
#E1476A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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