#8D319E#8D319E

#8D319E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.182 H 321.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D319E
RGBrgb(141, 49, 158)
HSLhsl(291, 53%, 41%)
HSVhsv(291, 69%, 62%)
CMYKcmyk(10.8%, 69%, 0%, 38%)
CIE-LABlab(38.43, 53.88, -41.01)
CIE-LCHlch(38.43, 67.71, 322.72°)
OKLaboklab(49.26% 0.1416 -0.1146)
OKLCHoklch(49.26% 0.182 321)
XYZxyz(18.2537, 10.3289, 33.3733)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D319E #429E31
analogous
#56319E #8D319E #9E3178
triadic
#8D319E #9E8D31 #319E8D
tetradic
#8D319E #9E5631 #429E31 #31789E
square
#8D319E #9E5631 #429E31 #31789E
split-complementary
#8D319E #789E31 #319E56
monochromatic
#3A1441 #63236F #8D319E #B246C6 #C575D4

Accessibility & contrast

On white

6.85
#8D319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D319E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D319E#FFFFFF#000000##FFFFFF
##8D319E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#8E4464
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d319e;
/* rgb */ color: rgb(141, 49, 158);
/* oklch */ color: oklch(49.3% 0.182 321.0);
Tailwind
colors: {
  custom: {
    50: '#b271bb',
    500: '#8d319e',
    950: '#000000',
  },
}
SCSS
$custom: #8d319e;
$custom-light: #b271bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d319e",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 290.642,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4926,
    "c": 0.18211,
    "h": 321
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#8D319E
secondary
#7BBC6E
accent
#DC4C62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D319E

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

Preview Lab → · Contrast checker → · Palette generator →

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