#8D41AF#8D41AF

#8D41AF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.2% C 0.177 H 313.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D41AF
RGBrgb(141, 65, 175)
HSLhsl(281, 46%, 47%)
HSVhsv(281, 63%, 69%)
CMYKcmyk(19.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(42.06, 50.13, -45.35)
CIE-LCHlch(42.06, 67.60, 317.87°)
OKLaboklab(52.21% 0.1223 -0.1274)
OKLCHoklch(52.21% 0.177 313.8)
XYZxyz(20.6114, 12.5391, 41.8837)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41AF #63AF41
analogous
#5641AF #8D41AF #AF419A
triadic
#8D41AF #AF8D41 #41AF8D
tetradic
#8D41AF #AF5641 #63AF41 #419AAF
square
#8D41AF #AF5641 #63AF41 #419AAF
split-complementary
#8D41AF #9AAF41 #41AF56
monochromatic
#452056 #693082 #8D41AF #A967C6 #C293D7

Accessibility & contrast

On white

5.99
#8D41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41AF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41AF#FFFFFF#000000##FFFFFF
##8D41AF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#8A5572
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d41af;
/* rgb */ color: rgb(141, 65, 175);
/* oklch */ color: oklch(52.2% 0.177 313.8);
Tailwind
colors: {
  custom: {
    50: '#b17ac7',
    500: '#8d41af',
    950: '#000000',
  },
}
SCSS
$custom: #8d41af;
$custom-light: #b17ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41af",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 281.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.1766,
    "h": 313.8
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#8D41AF
secondary
#9BC289
accent
#D5527B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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