#8E2B84#8E2B84

#8E2B84 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.168 H 332.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8E2B84
RGBrgb(142, 43, 132)
HSLhsl(306, 54%, 36%)
HSVhsv(306, 70%, 56%)
CMYKcmyk(0%, 69.7%, 7%, 44.3%)
CIE-LABlab(36.26, 51.86, -28.55)
CIE-LCHlch(36.26, 59.20, 331.17°)
OKLaboklab(47.26% 0.1488 -0.0783)
OKLCHoklch(47.26% 0.168 332.2)
XYZxyz(16.1841, 9.1458, 22.7382)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B84 #2B8E35
analogous
#672B8E #8E2B84 #8E2B53
triadic
#8E2B84 #848E2B #2B848E
tetradic
#8E2B84 #8E672B #2B8E35 #2B538E
square
#8E2B84 #8E672B #2B8E35 #2B538E
split-complementary
#8E2B84 #538E2B #2B8E67
monochromatic
#300F2D #5F1D58 #8E2B84 #BD39B0 #D063C5

Accessibility & contrast

On white

7.42
#8E2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B84
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B84#FFFFFF#000000##FFFFFF
##8E2B841.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C87
Deuteranopia (green-blind)
#4A5A82
Tritanopia (blue-blind)
#943554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2b84;
/* rgb */ color: rgb(142, 43, 132);
/* oklch */ color: oklch(47.3% 0.168 332.2);
Tailwind
colors: {
  custom: {
    50: '#b26da8',
    500: '#8e2b84',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b84;
$custom-light: #b26da8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b84",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 306.061,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.16817,
    "h": 332.2
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#8E2B84
secondary
#5FB668
accent
#DD5A4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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