#8C2E89#8C2E89

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

Color values

HEX#8C2E89
RGBrgb(140, 46, 137)
HSLhsl(302, 51%, 36%)
HSVhsv(302, 67%, 55%)
CMYKcmyk(0%, 67.1%, 2.1%, 45.1%)
CIE-LABlab(36.62, 51.00, -31.09)
CIE-LCHlch(36.62, 59.73, 328.64°)
OKLaboklab(47.54% 0.1435 -0.0857)
OKLCHoklch(47.54% 0.167 329.1)
XYZxyz(16.3074, 9.3367, 24.6053)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2E89 #2E8C31
analogous
#602E8C #8C2E89 #8C2E5A
triadic
#8C2E89 #898C2E #2E898C
tetradic
#8C2E89 #8C602E #2E8C31 #2E5A8C
square
#8C2E89 #8C602E #2E8C31 #2E5A8C
split-complementary
#8C2E89 #5A8C2E #2E8C60
monochromatic
#30102F #5E1F5C #8C2E89 #BA3DB6 #CD67CA

Accessibility & contrast

On white

7.32
#8C2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2E89
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2E89#FFFFFF#000000##FFFFFF
##8C2E891.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#913A57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c2e89;
/* rgb */ color: rgb(140, 46, 137);
/* oklch */ color: oklch(47.5% 0.167 329.1);
Tailwind
colors: {
  custom: {
    50: '#b16fac',
    500: '#8c2e89',
    950: '#000000',
  },
}
SCSS
$custom: #8c2e89;
$custom-light: #b16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2e89",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 301.915,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.16715,
    "h": 329.1
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#8C2E89
secondary
#62B464
accent
#DA524E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8C2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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