#8D2DA8#8D2DA8

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

Color values

HEX#8D2DA8
RGBrgb(141, 45, 168)
HSLhsl(287, 58%, 42%)
HSVhsv(287, 73%, 66%)
CMYKcmyk(16.1%, 73.2%, 0%, 34.1%)
CIE-LABlab(38.49, 57.41, -46.90)
CIE-LCHlch(38.49, 74.14, 320.75°)
OKLaboklab(49.51% 0.1451 -0.1318)
OKLCHoklch(49.51% 0.196 317.7)
XYZxyz(18.9898, 10.3675, 38.0390)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DA8 #48A82D
analogous
#502DA8 #8D2DA8 #A82D86
triadic
#8D2DA8 #A88D2D #2DA88D
tetradic
#8D2DA8 #A8502D #48A82D #2D86A8
square
#8D2DA8 #A8502D #48A82D #2D86A8
split-complementary
#8D2DA8 #86A82D #2DA850
monochromatic
#3C1347 #642078 #8D2DA8 #AF45CD #C475DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2DA8#FFFFFF#000000##FFFFFF
##8D2DA81.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)
#0055AB
Deuteranopia (green-blind)
#315EA5
Tritanopia (blue-blind)
#8C4668
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2da8;
/* rgb */ color: rgb(141, 45, 168);
/* oklch */ color: oklch(49.5% 0.196 317.7);
Tailwind
colors: {
  custom: {
    50: '#b26fc2',
    500: '#8d2da8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2da8;
$custom-light: #b26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2da8",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 286.829,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.19602,
    "h": 317.7
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#8D2DA8
secondary
#81C26F
accent
#E14769
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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