#8D3EA2#8D3EA2

#8D3EA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 318.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8D3EA2
RGBrgb(141, 62, 162)
HSLhsl(287, 45%, 44%)
HSVhsv(287, 62%, 64%)
CMYKcmyk(13%, 61.7%, 0%, 36.5%)
CIE-LABlab(40.76, 48.85, -39.69)
CIE-LCHlch(40.76, 62.94, 320.91°)
OKLaboklab(51.02% 0.126 -0.1108)
OKLCHoklch(51.02% 0.168 318.7)
XYZxyz(19.2278, 11.7174, 35.4243)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EA2 #53A23E
analogous
#5B3EA2 #8D3EA2 #A23E85
triadic
#8D3EA2 #A28D3E #3EA28D
tetradic
#8D3EA2 #A25B3E #53A23E #3E85A2
square
#8D3EA2 #A25B3E #53A23E #3E85A2
split-complementary
#8D3EA2 #85A23E #3EA25B
monochromatic
#401C49 #662D76 #8D3EA2 #AC5CC1 #C289D2

Accessibility & contrast

On white

6.28
#8D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EA2#FFFFFF#000000##FFFFFF
##8D3EA21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#43639F
Tritanopia (blue-blind)
#8D4F6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3ea2;
/* rgb */ color: rgb(141, 62, 162);
/* oklch */ color: oklch(51.0% 0.168 318.7);
Tailwind
colors: {
  custom: {
    50: '#b178be',
    500: '#8d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ea2;
$custom-light: #b178be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ea2",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 287.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.1678,
    "h": 318.7
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#8D3EA2
secondary
#8CBC80
accent
#D4536F
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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