#8D3EA0#8D3EA0

#8D3EA0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.166 H 319.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8D3EA0
RGBrgb(141, 62, 160)
HSLhsl(288, 44%, 44%)
HSVhsv(288, 61%, 63%)
CMYKcmyk(11.9%, 61.2%, 0%, 37.3%)
CIE-LABlab(40.65, 48.44, -38.67)
CIE-LCHlch(40.65, 61.98, 321.40°)
OKLaboklab(50.9% 0.126 -0.1078)
OKLCHoklch(50.9% 0.166 319.4)
XYZxyz(19.0515, 11.6469, 34.4954)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EA0 #51A03E
analogous
#5C3EA0 #8D3EA0 #A03E82
triadic
#8D3EA0 #A08D3E #3EA08D
tetradic
#8D3EA0 #A05C3E #51A03E #3E82A0
square
#8D3EA0 #A05C3E #51A03E #3E82A0
split-complementary
#8D3EA0 #82A03E #3EA05C
monochromatic
#3F1C48 #662D74 #8D3EA0 #AC5CC0 #C388D1

Accessibility & contrast

On white

6.31
#8D3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8D3EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EA0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EA0#FFFFFF#000000##FFFFFF
##8D3EA01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#45639D
Tritanopia (blue-blind)
#8D4E69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3ea0;
/* rgb */ color: rgb(141, 62, 160);
/* oklch */ color: oklch(50.9% 0.166 319.4);
Tailwind
colors: {
  custom: {
    50: '#b178bc',
    500: '#8d3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ea0;
$custom-light: #b178bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ea0",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 288.367,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.16582,
    "h": 319.4
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#8D3EA0
secondary
#8ABB7F
accent
#D4546D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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