#8D1888#8D1888

#8D1888 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.191 H 330.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8D1888
RGBrgb(141, 24, 136)
HSLhsl(303, 71%, 32%)
HSVhsv(303, 83%, 55%)
CMYKcmyk(0%, 83%, 3.5%, 44.7%)
CIE-LABlab(34.18, 58.37, -34.33)
CIE-LCHlch(34.18, 67.72, 329.54°)
OKLaboklab(45.81% 0.1655 -0.095)
OKLCHoklch(45.81% 0.191 330.2)
XYZxyz(15.7550, 8.0948, 24.0205)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1888 #188D1D
analogous
#57188D #8D1888 #8D184E
triadic
#8D1888 #888D18 #18888D
tetradic
#8D1888 #8D5718 #188D1D #184E8D
square
#8D1888 #8D5718 #188D1D #184E8D
split-complementary
#8D1888 #4E8D18 #188D57
monochromatic
#240623 #590F56 #8D1888 #C121BA #DF41D8

Accessibility & contrast

On white

8.02
#8D1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1888
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1888#FFFFFF#000000##FFFFFF
##8D18881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#932B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1888;
/* rgb */ color: rgb(141, 24, 136);
/* oklch */ color: oklch(45.8% 0.191 330.2);
Tailwind
colors: {
  custom: {
    50: '#b266ab',
    500: '#8d1888',
    950: '#000000',
  },
}
SCSS
$custom: #8d1888;
$custom-light: #b266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1888",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 302.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.19077,
    "h": 330.2
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#8D1888
secondary
#42BF47
accent
#EE423A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1888

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

Preview Lab → · Contrast checker → · Palette generator →

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