#8D3FA0#8D3FA0

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

Color values

HEX#8D3FA0
RGBrgb(141, 63, 160)
HSLhsl(288, 43%, 44%)
HSVhsv(288, 61%, 63%)
CMYKcmyk(11.9%, 60.6%, 0%, 37.3%)
CIE-LABlab(40.83, 47.96, -38.39)
CIE-LCHlch(40.83, 61.43, 321.32°)
OKLaboklab(51.03% 0.1247 -0.107)
OKLCHoklch(51.03% 0.164 319.3)
XYZxyz(19.1064, 11.7566, 34.5137)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FA0 #52A03F
analogous
#5C3FA0 #8D3FA0 #A03F82
triadic
#8D3FA0 #A08D3F #3FA08D
tetradic
#8D3FA0 #A05C3F #52A03F #3F82A0
square
#8D3FA0 #A05C3F #52A03F #3F82A0
split-complementary
#8D3FA0 #82A03F #3FA05C
monochromatic
#401C48 #662E74 #8D3FA0 #AC5DBF #C289D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3FA0#FFFFFF#000000##FFFFFF
##8D3FA01.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)
#285BA3
Deuteranopia (green-blind)
#46639E
Tritanopia (blue-blind)
#8D4F69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3fa0;
/* rgb */ color: rgb(141, 63, 160);
/* oklch */ color: oklch(51.0% 0.164 319.3);
Tailwind
colors: {
  custom: {
    50: '#b179bc',
    500: '#8d3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fa0;
$custom-light: #b179bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fa0",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 288.247,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51033,
    "c": 0.1643,
    "h": 319.3
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#8D3FA0
secondary
#8BBB80
accent
#D3556D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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