#8D3CA9#8D3CA9

#8D3CA9 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.178 H 316.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D3CA9
RGBrgb(141, 60, 169)
HSLhsl(285, 48%, 45%)
HSVhsv(285, 64%, 66%)
CMYKcmyk(16.6%, 64.5%, 0%, 33.7%)
CIE-LABlab(40.83, 51.24, -43.76)
CIE-LCHlch(40.83, 67.38, 319.51°)
OKLaboklab(51.21% 0.1285 -0.1227)
OKLCHoklch(51.21% 0.178 316.3)
XYZxyz(19.7607, 11.7597, 38.7574)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA9 #58A93C
analogous
#563CA9 #8D3CA9 #A93C8F
triadic
#8D3CA9 #A98D3C #3CA98D
tetradic
#8D3CA9 #A9563C #58A93C #3C8FA9
square
#8D3CA9 #A9563C #58A93C #3C8FA9
split-complementary
#8D3CA9 #8FA93C #3CA956
monochromatic
#421C4F #672C7C #8D3CA9 #AB5DC5 #C28AD5

Accessibility & contrast

On white

6.27
#8D3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8D3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA9#FFFFFF#000000##FFFFFF
##8D3CA91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAC
Deuteranopia (green-blind)
#3D63A6
Tritanopia (blue-blind)
#8B506D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3ca9;
/* rgb */ color: rgb(141, 60, 169);
/* oklch */ color: oklch(51.2% 0.178 316.3);
Tailwind
colors: {
  custom: {
    50: '#b177c3',
    500: '#8d3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca9;
$custom-light: #b177c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca9",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 284.587,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.17767,
    "h": 316.3
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#8D3CA9
secondary
#91C081
accent
#D75173
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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