#8D1883#8D1883

#8D1883 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.187 H 332.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8D1883
RGBrgb(141, 24, 131)
HSLhsl(305, 71%, 32%)
HSVhsv(305, 83%, 55%)
CMYKcmyk(0%, 83%, 7.1%, 44.7%)
CIE-LABlab(33.89, 57.58, -31.68)
CIE-LCHlch(33.89, 65.72, 331.18°)
OKLaboklab(45.51% 0.1655 -0.0873)
OKLCHoklch(45.51% 0.187 332.2)
XYZxyz(15.4079, 7.9560, 22.1925)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1883 #188D22
analogous
#5C188D #8D1883 #8D1849
triadic
#8D1883 #838D18 #18838D
tetradic
#8D1883 #8D5C18 #188D22 #18498D
square
#8D1883 #8D5C18 #188D22 #18498D
split-complementary
#8D1883 #498D18 #188D5C
monochromatic
#240622 #590F52 #8D1883 #C121B4 #DF41D1

Accessibility & contrast

On white

8.10
#8D1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1883
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1883#FFFFFF#000000##FFFFFF
##8D18831.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4586
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#93284E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1883;
/* rgb */ color: rgb(141, 24, 131);
/* oklch */ color: oklch(45.5% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#b266a7',
    500: '#8d1883',
    950: '#000000',
  },
}
SCSS
$custom: #8d1883;
$custom-light: #b266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1883",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 305.128,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.1871,
    "h": 332.2
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#8D1883
secondary
#42BF4C
accent
#EE493A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1883

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

Preview Lab → · Contrast checker → · Palette generator →

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