#8E2D84#8E2D84

#8E2D84 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.166 H 332.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E2D84
RGBrgb(142, 45, 132)
HSLhsl(306, 52%, 37%)
HSVhsv(306, 68%, 56%)
CMYKcmyk(0%, 68.3%, 7%, 44.3%)
CIE-LABlab(36.55, 51.07, -28.10)
CIE-LCHlch(36.55, 58.29, 331.17°)
OKLaboklab(47.46% 0.1465 -0.0771)
OKLCHoklch(47.46% 0.166 332.3)
XYZxyz(16.2586, 9.2948, 22.7631)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D84 #2D8E37
analogous
#682D8E #8E2D84 #8E2D53
triadic
#8E2D84 #848E2D #2D848E
tetradic
#8E2D84 #8E682D #2D8E37 #2D538E
square
#8E2D84 #8E682D #2D8E37 #2D538E
split-complementary
#8E2D84 #538E2D #2D8E68
monochromatic
#31102E #601E59 #8E2D84 #BC3CAF #CF67C4

Accessibility & contrast

On white

7.35
#8E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D84
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D84#FFFFFF#000000##FFFFFF
##8E2D841.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#943654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2d84;
/* rgb */ color: rgb(142, 45, 132);
/* oklch */ color: oklch(47.5% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#b26ea8',
    500: '#8e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d84;
$custom-light: #b26ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d84",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 306.186,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.16555,
    "h": 332.3
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#8E2D84
secondary
#61B56A
accent
#DB5B4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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