#8D319F#8D319F

#8D319F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.183 H 320.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D319F
RGBrgb(141, 49, 159)
HSLhsl(290, 53%, 41%)
HSVhsv(290, 69%, 62%)
CMYKcmyk(11.3%, 69.2%, 0%, 37.6%)
CIE-LABlab(38.49, 54.07, -41.51)
CIE-LCHlch(38.49, 68.17, 322.48°)
OKLaboklab(49.32% 0.1415 -0.1161)
OKLCHoklch(49.32% 0.183 320.6)
XYZxyz(18.3401, 10.3635, 33.8285)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D319F #439F31
analogous
#56319F #8D319F #9F317A
triadic
#8D319F #9F8D31 #319F8D
tetradic
#8D319F #9F5631 #439F31 #317A9F
square
#8D319F #9F5631 #439F31 #317A9F
split-complementary
#8D319F #7A9F31 #319F56
monochromatic
#3A1441 #642370 #8D319F #B147C6 #C576D5

Accessibility & contrast

On white

6.83
#8D319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D319F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D319F#FFFFFF#000000##FFFFFF
##8D319F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#8E4564
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d319f;
/* rgb */ color: rgb(141, 49, 159);
/* oklch */ color: oklch(49.3% 0.183 320.6);
Tailwind
colors: {
  custom: {
    50: '#b271bc',
    500: '#8d319f',
    950: '#000000',
  },
}
SCSS
$custom: #8d319f;
$custom-light: #b271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d319f",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 290.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.18302,
    "h": 320.6
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#8D319F
secondary
#7CBD6F
accent
#DC4C63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D319F

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

Preview Lab → · Contrast checker → · Palette generator →

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