#8D2DA5#8D2DA5

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

Color values

HEX#8D2DA5
RGBrgb(141, 45, 165)
HSLhsl(288, 57%, 41%)
HSVhsv(288, 73%, 65%)
CMYKcmyk(14.5%, 72.7%, 0%, 35.3%)
CIE-LABlab(38.30, 56.83, -45.42)
CIE-LCHlch(38.30, 72.75, 321.37°)
OKLaboklab(49.31% 0.1454 -0.1274)
OKLCHoklch(49.31% 0.193 318.8)
XYZxyz(18.7135, 10.2570, 36.5841)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DA5 #45A52D
analogous
#512DA5 #8D2DA5 #A52D81
triadic
#8D2DA5 #A58D2D #2DA58D
tetradic
#8D2DA5 #A5512D #45A52D #2D81A5
square
#8D2DA5 #A5512D #45A52D #2D81A5
split-complementary
#8D2DA5 #81A52D #2DA551
monochromatic
#3B1345 #642075 #8D2DA5 #B143CC #C573D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2DA5#FFFFFF#000000##FFFFFF
##8D2DA51.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)
#0054A8
Deuteranopia (green-blind)
#345DA2
Tritanopia (blue-blind)
#8D4566
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2da5;
/* rgb */ color: rgb(141, 45, 165);
/* oklch */ color: oklch(49.3% 0.193 318.8);
Tailwind
colors: {
  custom: {
    50: '#b26fc0',
    500: '#8d2da5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2da5;
$custom-light: #b26fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2da5",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 288,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.19333,
    "h": 318.8
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#8D2DA5
secondary
#7EC16D
accent
#E04766
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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