#8E2185#8E2185

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

Color values

HEX#8E2185
RGBrgb(142, 33, 133)
HSLhsl(305, 62%, 34%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 76.8%, 6.3%, 44.3%)
CIE-LABlab(35.07, 55.56, -31.05)
CIE-LCHlch(35.07, 63.65, 330.80°)
OKLaboklab(46.42% 0.1592 -0.0855)
OKLCHoklch(46.42% 0.181 331.8)
XYZxyz(15.9328, 8.5333, 22.9937)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2185 #218E2A
analogous
#61218E #8E2185 #8E214F
triadic
#8E2185 #858E21 #21858E
tetradic
#8E2185 #8E6121 #218E2A #214F8E
square
#8E2185 #8E6121 #218E2A #214F8E
split-complementary
#8E2185 #4F8E21 #218E61
monochromatic
#2B0A28 #5C1556 #8E2185 #C02DB4 #D752CC

Accessibility & contrast

On white

7.76
#8E2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2185
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2185#FFFFFF#000000##FFFFFF
##8E21851.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#942E51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2185;
/* rgb */ color: rgb(142, 33, 133);
/* oklch */ color: oklch(46.4% 0.181 331.8);
Tailwind
colors: {
  custom: {
    50: '#b369a9',
    500: '#8e2185',
    950: '#000000',
  },
}
SCSS
$custom: #8e2185;
$custom-light: #b369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2185",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 304.954,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.18065,
    "h": 331.8
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#8E2185
secondary
#50BA59
accent
#E55042
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2185

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

Preview Lab → · Contrast checker → · Palette generator →

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