#8D2087#8D2087

#8D2087 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.183 H 330.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D2087
RGBrgb(141, 32, 135)
HSLhsl(303, 63%, 34%)
HSVhsv(303, 77%, 55%)
CMYKcmyk(0%, 77.3%, 4.3%, 44.7%)
CIE-LABlab(34.90, 55.97, -32.58)
CIE-LCHlch(34.90, 64.76, 329.80°)
OKLaboklab(46.3% 0.159 -0.0899)
OKLCHoklch(46.3% 0.183 330.5)
XYZxyz(15.8741, 8.4463, 23.7112)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2087 #208D26
analogous
#5D208D #8D2087 #8D2051
triadic
#8D2087 #878D20 #20878D
tetradic
#8D2087 #8D5D20 #208D26 #20518D
square
#8D2087 #8D5D20 #208D26 #20518D
split-complementary
#8D2087 #518D20 #208D5D
monochromatic
#290927 #5B1557 #8D2087 #BF2BB7 #D750D0

Accessibility & contrast

On white

7.81
#8D2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2087
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2087#FFFFFF#000000##FFFFFF
##8D20871.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#932F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2087;
/* rgb */ color: rgb(141, 32, 135);
/* oklch */ color: oklch(46.3% 0.183 330.5);
Tailwind
colors: {
  custom: {
    50: '#b269aa',
    500: '#8d2087',
    950: '#000000',
  },
}
SCSS
$custom: #8d2087;
$custom-light: #b269aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2087",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 303.303,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.1827,
    "h": 330.5
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#8D2087
secondary
#4EBA54
accent
#E64B42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2087

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

Preview Lab → · Contrast checker → · Palette generator →

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