#8D41A2#8D41A2

#8D41A2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.163 H 318.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8D41A2
RGBrgb(141, 65, 162)
HSLhsl(287, 43%, 45%)
HSVhsv(287, 60%, 64%)
CMYKcmyk(13%, 59.9%, 0%, 36.5%)
CIE-LABlab(41.30, 47.39, -38.83)
CIE-LCHlch(41.30, 61.27, 320.66°)
OKLaboklab(51.41% 0.1221 -0.1083)
OKLCHoklch(51.41% 0.163 318.4)
XYZxyz(19.3955, 12.0527, 35.4802)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41A2 #56A241
analogous
#5D41A2 #8D41A2 #A24187
triadic
#8D41A2 #A28D41 #41A28D
tetradic
#8D41A2 #A25D41 #56A241 #4187A2
square
#8D41A2 #A25D41 #56A241 #4187A2
split-complementary
#8D41A2 #87A241 #41A25D
monochromatic
#411E4B #672F76 #8D41A2 #AB61BF #C28CD1

Accessibility & contrast

On white

6.16
#8D41A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8D41A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41A2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41A2#FFFFFF#000000##FFFFFF
##8D41A21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#8D516B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d41a2;
/* rgb */ color: rgb(141, 65, 162);
/* oklch */ color: oklch(51.4% 0.163 318.4);
Tailwind
colors: {
  custom: {
    50: '#b17abe',
    500: '#8d41a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d41a2;
$custom-light: #b17abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41a2",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 287.01,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.16326,
    "h": 318.4
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#8D41A2
secondary
#8FBC83
accent
#D35570
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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