#8E2C8F#8E2C8F

#8E2C8F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.176 H 327.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8E2C8F
RGBrgb(142, 44, 143)
HSLhsl(299, 53%, 37%)
HSVhsv(299, 69%, 56%)
CMYKcmyk(0.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(37.00, 53.35, -34.16)
CIE-LCHlch(37.00, 63.35, 327.37°)
OKLaboklab(47.98% 0.1483 -0.0946)
OKLCHoklch(47.98% 0.176 327.5)
XYZxyz(17.0137, 9.5365, 26.9259)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C8F #2D8F2C
analogous
#5D2C8F #8E2C8F #8F2C5F
triadic
#8E2C8F #8F8E2C #2C8F8E
tetradic
#8E2C8F #8F5D2C #2D8F2C #2C5F8F
square
#8E2C8F #8F5D2C #2D8F2C #2C5F8F
split-complementary
#8E2C8F #5F8F2C #2C8F5D
monochromatic
#310F31 #601E60 #8E2C8F #BC3ABE #CF66D0

Accessibility & contrast

On white

7.22
#8E2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8E2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C8F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C8F#FFFFFF#000000##FFFFFF
##8E2C8F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#445B8C
Tritanopia (blue-blind)
#923A5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2c8f;
/* rgb */ color: rgb(142, 44, 143);
/* oklch */ color: oklch(48.0% 0.176 327.5);
Tailwind
colors: {
  custom: {
    50: '#b26eb0',
    500: '#8e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c8f;
$custom-light: #b26eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c8f",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 299.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.17588,
    "h": 327.5
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#8E2C8F
secondary
#61B661
accent
#DC4B4D
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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