#8D4FA1#8D4FA1

#8D4FA1 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.4% C 0.139 H 317.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D4FA1
RGBrgb(141, 79, 161)
HSLhsl(285, 34%, 47%)
HSVhsv(285, 51%, 63%)
CMYKcmyk(12.4%, 50.9%, 0%, 36.9%)
CIE-LABlab(43.99, 39.88, -33.99)
CIE-LCHlch(43.99, 52.40, 319.56°)
OKLaboklab(53.37% 0.1027 -0.0944)
OKLCHoklch(53.37% 0.139 317.4)
XYZxyz(20.2126, 13.8286, 35.3158)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FA1 #63A14F
analogous
#644FA1 #8D4FA1 #A14F8C
triadic
#8D4FA1 #A18D4F #4FA18D
tetradic
#8D4FA1 #A1644F #63A14F #4F8CA1
square
#8D4FA1 #A1644F #63A14F #4F8CA1
split-complementary
#8D4FA1 #8CA14F #4FA164
monochromatic
#45274F #693B78 #8D4FA1 #A973BA #C29CCE

Accessibility & contrast

On white

5.58
#8D4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8D4FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FA1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FA1#FFFFFF#000000##FFFFFF
##8D4FA11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#8D5B71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4fa1;
/* rgb */ color: rgb(141, 79, 161);
/* oklch */ color: oklch(53.4% 0.139 317.4);
Tailwind
colors: {
  custom: {
    50: '#b082bd',
    500: '#8d4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fa1;
$custom-light: #b082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fa1",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 285.366,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.13947,
    "h": 317.4
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#8D4FA1
secondary
#9BBB91
accent
#CA5E78
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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