#8D1DA8#8D1DA8

#8D1DA8 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.212 H 318.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8D1DA8
RGBrgb(141, 29, 168)
HSLhsl(288, 71%, 39%)
HSVhsv(288, 83%, 66%)
CMYKcmyk(16.1%, 82.7%, 0%, 34.1%)
CIE-LABlab(36.69, 62.62, -49.82)
CIE-LCHlch(36.69, 80.02, 321.50°)
OKLaboklab(48.23% 0.1586 -0.1402)
OKLCHoklch(48.23% 0.212 318.5)
XYZxyz(18.4908, 9.3695, 37.8727)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1DA8 #38A81D
analogous
#471DA8 #8D1DA8 #A81D7D
triadic
#8D1DA8 #A88D1D #1DA88D
tetradic
#8D1DA8 #A8471D #38A81D #1D7DA8
square
#8D1DA8 #A8471D #38A81D #1D7DA8
split-complementary
#8D1DA8 #7DA81D #1DA847
monochromatic
#350B40 #611474 #8D1DA8 #B728DA #C95CE3

Accessibility & contrast

On white

7.31
#8D1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D1DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1DA8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1DA8#FFFFFF#000000##FFFFFF
##8D1DA81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#8C3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d1da8;
/* rgb */ color: rgb(141, 29, 168);
/* oklch */ color: oklch(48.2% 0.212 318.5);
Tailwind
colors: {
  custom: {
    50: '#b369c3',
    500: '#8d1da8',
    950: '#000000',
  },
}
SCSS
$custom: #8d1da8;
$custom-light: #b369c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1da8",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 288.345,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.21171,
    "h": 318.5
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#8D1DA8
secondary
#6FC75A
accent
#ED3A5D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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