#8D43A2#8D43A2

#8D43A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.7% C 0.160 H 318.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D43A2
RGBrgb(141, 67, 162)
HSLhsl(287, 41%, 45%)
HSVhsv(287, 59%, 64%)
CMYKcmyk(13%, 58.6%, 0%, 36.5%)
CIE-LABlab(41.67, 46.39, -38.25)
CIE-LCHlch(41.67, 60.13, 320.49°)
OKLaboklab(51.68% 0.1195 -0.1067)
OKLCHoklch(51.68% 0.16 318.2)
XYZxyz(19.5124, 12.2864, 35.5191)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D43A2 #58A243
analogous
#5E43A2 #8D43A2 #A24388
triadic
#8D43A2 #A28D43 #43A28D
tetradic
#8D43A2 #A25E43 #58A243 #4388A2
square
#8D43A2 #A25E43 #58A243 #4388A2
split-complementary
#8D43A2 #88A243 #43A25E
monochromatic
#421F4B #673177 #8D43A2 #AB64BF #C28FD1

Accessibility & contrast

On white

6.07
#8D43A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D43A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D43A2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D43A2#FFFFFF#000000##FFFFFF
##8D43A21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#8D526C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d43a2;
/* rgb */ color: rgb(141, 67, 162);
/* oklch */ color: oklch(51.7% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#b17bbe',
    500: '#8d43a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d43a2;
$custom-light: #b17bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d43a2",
  "rgb": {
    "r": 141,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 286.737,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.16017,
    "h": 318.2
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#8D43A2
secondary
#91BC85
accent
#D15672
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8D43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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