#8D2186#8D2186

#8D2186 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.181 H 330.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D2186
RGBrgb(141, 33, 134)
HSLhsl(304, 62%, 34%)
HSVhsv(304, 77%, 55%)
CMYKcmyk(0%, 76.6%, 5%, 44.7%)
CIE-LABlab(34.95, 55.50, -31.87)
CIE-LCHlch(34.95, 64.00, 330.13°)
OKLaboklab(46.32% 0.1581 -0.0879)
OKLCHoklch(46.32% 0.181 330.9)
XYZxyz(15.8314, 8.4729, 23.3513)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2186 #218D28
analogous
#5E218D #8D2186 #8D2150
triadic
#8D2186 #868D21 #21868D
tetradic
#8D2186 #8D5E21 #218D28 #21508D
square
#8D2186 #8D5E21 #218D28 #21508D
split-complementary
#8D2186 #508D21 #218D5E
monochromatic
#2A0A28 #5B1557 #8D2186 #BF2DB5 #D652CE

Accessibility & contrast

On white

7.79
#8D2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2186
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2186#FFFFFF#000000##FFFFFF
##8D21861.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#932F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2186;
/* rgb */ color: rgb(141, 33, 134);
/* oklch */ color: oklch(46.3% 0.181 330.9);
Tailwind
colors: {
  custom: {
    50: '#b269a9',
    500: '#8d2186',
    950: '#000000',
  },
}
SCSS
$custom: #8d2186;
$custom-light: #b269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2186",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 303.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.18089,
    "h": 330.9
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#8D2186
secondary
#50BA57
accent
#E54D43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2186

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

Preview Lab → · Contrast checker → · Palette generator →

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