#8D319C#8D319C

#8D319C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.180 H 321.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D319C
RGBrgb(141, 49, 156)
HSLhsl(292, 52%, 40%)
HSVhsv(292, 69%, 61%)
CMYKcmyk(9.6%, 68.6%, 0%, 38.8%)
CIE-LABlab(38.31, 53.49, -39.99)
CIE-LCHlch(38.31, 66.79, 323.22°)
OKLaboklab(49.14% 0.1416 -0.1116)
OKLCHoklch(49.14% 0.18 321.8)
XYZxyz(18.0829, 10.2606, 32.4741)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D319C #409C31
analogous
#58319C #8D319C #9C3175
triadic
#8D319C #9C8D31 #319C8D
tetradic
#8D319C #9C5831 #409C31 #31759C
square
#8D319C #9C5831 #409C31 #31759C
split-complementary
#8D319C #759C31 #319C58
monochromatic
#39143F #63226D #8D319C #B345C5 #C674D3

Accessibility & contrast

On white

6.88
#8D319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D319C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D319C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D319C#FFFFFF#000000##FFFFFF
##8D319C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F549F
Deuteranopia (green-blind)
#3E5E99
Tritanopia (blue-blind)
#8F4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d319c;
/* rgb */ color: rgb(141, 49, 156);
/* oklch */ color: oklch(49.1% 0.180 321.8);
Tailwind
colors: {
  custom: {
    50: '#b271ba',
    500: '#8d319c',
    950: '#000000',
  },
}
SCSS
$custom: #8d319c;
$custom-light: #b271ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d319c",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 291.589,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.1803,
    "h": 321.8
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#8D319C
secondary
#78BB6D
accent
#DC4C60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D319C

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

Preview Lab → · Contrast checker → · Palette generator →

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