#8D3CA2#8D3CA2

#8D3CA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.171 H 318.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D3CA2
RGBrgb(141, 60, 162)
HSLhsl(288, 46%, 44%)
HSVhsv(288, 63%, 64%)
CMYKcmyk(13%, 63%, 0%, 36.5%)
CIE-LABlab(40.42, 49.80, -40.24)
CIE-LCHlch(40.42, 64.02, 321.06°)
OKLaboklab(50.77% 0.1285 -0.1124)
OKLCHoklch(50.77% 0.171 318.8)
XYZxyz(19.1211, 11.5039, 35.3887)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA2 #51A23C
analogous
#5A3CA2 #8D3CA2 #A23C84
triadic
#8D3CA2 #A28D3C #3CA28D
tetradic
#8D3CA2 #A25A3C #51A23C #3C84A2
square
#8D3CA2 #A25A3C #51A23C #3C84A2
split-complementary
#8D3CA2 #84A23C #3CA25A
monochromatic
#3F1B49 #662B75 #8D3CA2 #AC59C2 #C386D2

Accessibility & contrast

On white

6.36
#8D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8D3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA2#FFFFFF#000000##FFFFFF
##8D3CA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#8D4D69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ca2;
/* rgb */ color: rgb(141, 60, 162);
/* oklch */ color: oklch(50.8% 0.171 318.8);
Tailwind
colors: {
  custom: {
    50: '#b177be',
    500: '#8d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca2;
$custom-light: #b177be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca2",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 287.647,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.17075,
    "h": 318.8
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#8D3CA2
secondary
#8ABC7D
accent
#D6526D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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