#8D319B#8D319B

#8D319B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.179 H 322.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D319B
RGBrgb(141, 49, 155)
HSLhsl(292, 52%, 40%)
HSVhsv(292, 68%, 61%)
CMYKcmyk(9%, 68.4%, 0%, 39.2%)
CIE-LABlab(38.25, 53.30, -39.48)
CIE-LCHlch(38.25, 66.33, 323.47°)
OKLaboklab(49.07% 0.1416 -0.1101)
OKLCHoklch(49.07% 0.179 322.1)
XYZxyz(17.9986, 10.2269, 32.0299)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D319B #3F9B31
analogous
#58319B #8D319B #9B3174
triadic
#8D319B #9B8D31 #319B8D
tetradic
#8D319B #9B5831 #3F9B31 #31749B
square
#8D319B #9B5831 #3F9B31 #31749B
split-complementary
#8D319B #749B31 #319B58
monochromatic
#38143E #63226D #8D319B #B345C4 #C673D3

Accessibility & contrast

On white

6.90
#8D319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D319B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D319B#FFFFFF#000000##FFFFFF
##8D319B1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#3F5E98
Tritanopia (blue-blind)
#8F4362
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d319b;
/* rgb */ color: rgb(141, 49, 155);
/* oklch */ color: oklch(49.1% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#b171b9',
    500: '#8d319b',
    950: '#000000',
  },
}
SCSS
$custom: #8d319b;
$custom-light: #b171b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d319b",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 292.075,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.17939,
    "h": 322.1
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#8D319B
secondary
#77BB6D
accent
#DB4C5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D319B

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

Preview Lab → · Contrast checker → · Palette generator →

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