#8D1783#8D1783

#8D1783 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.188 H 332.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8D1783
RGBrgb(141, 23, 131)
HSLhsl(305, 72%, 32%)
HSVhsv(305, 84%, 55%)
CMYKcmyk(0%, 83.7%, 7.1%, 44.7%)
CIE-LABlab(33.81, 57.83, -31.82)
CIE-LCHlch(33.81, 66.00, 331.18°)
OKLaboklab(45.45% 0.1662 -0.0876)
OKLCHoklch(45.45% 0.188 332.2)
XYZxyz(15.3877, 7.9155, 22.1858)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1783 #178D21
analogous
#5C178D #8D1783 #8D1748
triadic
#8D1783 #838D17 #17838D
tetradic
#8D1783 #8D5C17 #178D21 #17488D
square
#8D1783 #8D5C17 #178D21 #17488D
split-complementary
#8D1783 #488D17 #178D5C
monochromatic
#240621 #580E52 #8D1783 #C220B4 #E03FD2

Accessibility & contrast

On white

8.13
#8D1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1783
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1783#FFFFFF#000000##FFFFFF
##8D17831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#93274E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1783;
/* rgb */ color: rgb(141, 23, 131);
/* oklch */ color: oklch(45.4% 0.188 332.2);
Tailwind
colors: {
  custom: {
    50: '#b265a7',
    500: '#8d1783',
    950: '#000000',
  },
}
SCSS
$custom: #8d1783;
$custom-light: #b265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1783",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 305.085,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.18791,
    "h": 332.2
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#8D1783
secondary
#40C04B
accent
#EF4939
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1783

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

Preview Lab → · Contrast checker → · Palette generator →

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