#8D1A85#8D1A85

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

Color values

HEX#8D1A85
RGBrgb(141, 26, 133)
HSLhsl(304, 69%, 33%)
HSVhsv(304, 82%, 55%)
CMYKcmyk(0%, 81.6%, 5.7%, 44.7%)
CIE-LABlab(34.18, 57.38, -32.46)
CIE-LCHlch(34.18, 65.93, 330.50°)
OKLaboklab(45.75% 0.164 -0.0895)
OKLCHoklch(45.75% 0.187 331.4)
XYZxyz(15.5875, 8.0963, 22.9275)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A85 #1A8D22
analogous
#5B1A8D #8D1A85 #8D1A4B
triadic
#8D1A85 #858D1A #1A858D
tetradic
#8D1A85 #8D5B1A #1A8D22 #1A4B8D
square
#8D1A85 #8D5B1A #1A8D22 #1A4B8D
split-complementary
#8D1A85 #4B8D1A #1A8D5B
monochromatic
#260724 #591054 #8D1A85 #C124B6 #DD45D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1A85#FFFFFF#000000##FFFFFF
##8D1A851.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)
#0B4688
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#932A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1a85;
/* rgb */ color: rgb(141, 26, 133);
/* oklch */ color: oklch(45.8% 0.187 331.4);
Tailwind
colors: {
  custom: {
    50: '#b266a9',
    500: '#8d1a85',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a85;
$custom-light: #b266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a85",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 304.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.18686,
    "h": 331.4
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#8D1A85
secondary
#45BE4D
accent
#EC483C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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