#8E2C8A#8E2C8A

#8E2C8A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 329.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8E2C8A
RGBrgb(142, 44, 138)
HSLhsl(302, 53%, 36%)
HSVhsv(302, 69%, 56%)
CMYKcmyk(0%, 69%, 2.8%, 44.3%)
CIE-LABlab(36.72, 52.48, -31.53)
CIE-LCHlch(36.72, 61.22, 329.00°)
OKLaboklab(47.7% 0.1481 -0.0869)
OKLCHoklch(47.7% 0.172 329.6)
XYZxyz(16.6433, 9.3883, 24.9754)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C8A #2C8E30
analogous
#612C8E #8E2C8A #8E2C59
triadic
#8E2C8A #8A8E2C #2C8A8E
tetradic
#8E2C8A #8E612C #2C8E30 #2C598E
square
#8E2C8A #8E612C #2C8E30 #2C598E
split-complementary
#8E2C8A #598E2C #2C8E61
monochromatic
#310F2F #5F1E5D #8E2C8A #BD3AB7 #CF65CB

Accessibility & contrast

On white

7.30
#8E2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C8A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C8A#FFFFFF#000000##FFFFFF
##8E2C8A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#933857
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2c8a;
/* rgb */ color: rgb(142, 44, 138);
/* oklch */ color: oklch(47.7% 0.172 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26eac',
    500: '#8e2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c8a;
$custom-light: #b26eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c8a",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 302.449,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.17173,
    "h": 329.6
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#8E2C8A
secondary
#60B664
accent
#DC524C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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