#8D3CA3#8D3CA3

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

Color values

HEX#8D3CA3
RGBrgb(141, 60, 163)
HSLhsl(287, 46%, 44%)
HSVhsv(287, 63%, 64%)
CMYKcmyk(13.5%, 63.2%, 0%, 36.1%)
CIE-LABlab(40.47, 50.00, -40.74)
CIE-LCHlch(40.47, 64.50, 320.82°)
OKLaboklab(50.83% 0.1285 -0.1139)
OKLCHoklch(50.83% 0.172 318.5)
XYZxyz(19.2103, 11.5396, 35.8587)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA3 #52A33C
analogous
#593CA3 #8D3CA3 #A33C85
triadic
#8D3CA3 #A38D3C #3CA38D
tetradic
#8D3CA3 #A3593C #52A33C #3C85A3
square
#8D3CA3 #A3593C #52A33C #3C85A3
split-complementary
#8D3CA3 #85A33C #3CA359
monochromatic
#401B4A #662C76 #8D3CA3 #AC5AC2 #C287D3

Accessibility & contrast

On white

6.35
#8D3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D3CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA3#FFFFFF#000000##FFFFFF
##8D3CA31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#8D4E6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ca3;
/* rgb */ color: rgb(141, 60, 163);
/* oklch */ color: oklch(50.8% 0.172 318.5);
Tailwind
colors: {
  custom: {
    50: '#b177bf',
    500: '#8d3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca3;
$custom-light: #b177bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca3",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 287.184,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.17173,
    "h": 318.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#8D3CA3
secondary
#8BBD7E
accent
#D6526E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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