#8E2184#8E2184

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

Color values

HEX#8E2184
RGBrgb(142, 33, 132)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 77%, 56%)
CMYKcmyk(0%, 76.8%, 7%, 44.3%)
CIE-LABlab(35.01, 55.40, -30.52)
CIE-LCHlch(35.01, 63.25, 331.15°)
OKLaboklab(46.36% 0.1591 -0.0839)
OKLCHoklch(46.36% 0.18 332.2)
XYZxyz(15.8641, 8.5058, 22.6316)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2184 #218E2B
analogous
#62218E #8E2184 #8E214D
triadic
#8E2184 #848E21 #21848E
tetradic
#8E2184 #8E6221 #218E2B #214D8E
square
#8E2184 #8E6221 #218E2B #214D8E
split-complementary
#8E2184 #4D8E21 #218E62
monochromatic
#2B0A28 #5C1556 #8E2184 #C02DB2 #D752CB

Accessibility & contrast

On white

7.78
#8E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2184
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2184#FFFFFF#000000##FFFFFF
##8E21841.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2184;
/* rgb */ color: rgb(142, 33, 132);
/* oklch */ color: oklch(46.4% 0.180 332.2);
Tailwind
colors: {
  custom: {
    50: '#b369a8',
    500: '#8e2184',
    950: '#000000',
  },
}
SCSS
$custom: #8e2184;
$custom-light: #b369a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2184",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 305.505,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.1799,
    "h": 332.2
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#8E2184
secondary
#50BA5A
accent
#E55142
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2184

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

Preview Lab → · Contrast checker → · Palette generator →

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