#8E2C8D#8E2C8D

#8E2C8D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 328.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8E2C8D
RGBrgb(142, 44, 141)
HSLhsl(301, 53%, 36%)
HSVhsv(301, 69%, 56%)
CMYKcmyk(0%, 69%, 0.7%, 44.3%)
CIE-LABlab(36.89, 53.00, -33.11)
CIE-LCHlch(36.89, 62.49, 328.01°)
OKLaboklab(47.87% 0.1482 -0.0915)
OKLCHoklch(47.87% 0.174 328.3)
XYZxyz(16.8635, 9.4764, 26.1351)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C8D #2C8E2D
analogous
#5E2C8E #8E2C8D #8E2C5C
triadic
#8E2C8D #8D8E2C #2C8D8E
tetradic
#8E2C8D #8E5E2C #2C8E2D #2C5C8E
square
#8E2C8D #8E5E2C #2C8E2D #2C5C8E
split-complementary
#8E2C8D #5C8E2C #2C8E5E
monochromatic
#310F30 #5F1E5F #8E2C8D #BD3ABB #CF65CE

Accessibility & contrast

On white

7.25
#8E2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C8D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C8D#FFFFFF#000000##FFFFFF
##8E2C8D1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#933959
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2c8d;
/* rgb */ color: rgb(142, 44, 141);
/* oklch */ color: oklch(47.9% 0.174 328.3);
Tailwind
colors: {
  custom: {
    50: '#b26eaf',
    500: '#8e2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c8d;
$custom-light: #b26eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c8d",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 300.612,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.17421,
    "h": 328.3
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#8E2C8D
secondary
#60B661
accent
#DC4D4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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