#8D1880#8D1880

#8D1880 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.185 H 333.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8D1880
RGBrgb(141, 24, 128)
HSLhsl(307, 71%, 32%)
HSVhsv(307, 83%, 55%)
CMYKcmyk(0%, 83%, 9.2%, 44.7%)
CIE-LABlab(33.72, 57.12, -30.08)
CIE-LCHlch(33.72, 64.55, 332.23°)
OKLaboklab(45.33% 0.1655 -0.0826)
OKLCHoklch(45.33% 0.185 333.5)
XYZxyz(15.2076, 7.8759, 21.1372)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1880 #188D25
analogous
#60188D #8D1880 #8D1845
triadic
#8D1880 #808D18 #18808D
tetradic
#8D1880 #8D6018 #188D25 #18458D
square
#8D1880 #8D6018 #188D25 #18458D
split-complementary
#8D1880 #458D18 #188D60
monochromatic
#240621 #590F51 #8D1880 #C121AF #DF41CD

Accessibility & contrast

On white

8.16
#8D1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1880
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1880#FFFFFF#000000##FFFFFF
##8D18801.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124583
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#94264C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1880;
/* rgb */ color: rgb(141, 24, 128);
/* oklch */ color: oklch(45.3% 0.185 333.5);
Tailwind
colors: {
  custom: {
    50: '#b266a5',
    500: '#8d1880',
    950: '#000000',
  },
}
SCSS
$custom: #8d1880;
$custom-light: #b266a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1880",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 306.667,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.18495,
    "h": 333.5
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#8D1880
secondary
#42BF50
accent
#EE4E3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1880

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

Preview Lab → · Contrast checker → · Palette generator →

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