#8D4FA2#8D4FA2

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

Color values

HEX#8D4FA2
RGBrgb(141, 79, 162)
HSLhsl(285, 34%, 47%)
HSVhsv(285, 51%, 64%)
CMYKcmyk(13%, 51.2%, 0%, 36.5%)
CIE-LABlab(44.04, 40.10, -34.50)
CIE-LCHlch(44.04, 52.90, 319.29°)
OKLaboklab(53.43% 0.1028 -0.0959)
OKLCHoklch(53.43% 0.141 317)
XYZxyz(20.3011, 13.8640, 35.7820)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FA2 #64A24F
analogous
#634FA2 #8D4FA2 #A24F8E
triadic
#8D4FA2 #A28D4F #4FA28D
tetradic
#8D4FA2 #A2634F #64A24F #4F8EA2
square
#8D4FA2 #A2634F #64A24F #4F8EA2
split-complementary
#8D4FA2 #8EA24F #4FA263
monochromatic
#452750 #693B79 #8D4FA2 #A973BB #C29CCF

Accessibility & contrast

On white

5.57
#8D4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4FA2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FA2#FFFFFF#000000##FFFFFF
##8D4FA21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#8C5B71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4fa2;
/* rgb */ color: rgb(141, 79, 162);
/* oklch */ color: oklch(53.4% 0.141 317.0);
Tailwind
colors: {
  custom: {
    50: '#b083be',
    500: '#8d4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fa2;
$custom-light: #b083be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fa2",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 284.819,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.14057,
    "h": 317
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#8D4FA2
secondary
#9CBC91
accent
#CB5D79
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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