#8E2D89#8E2D89

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

Color values

HEX#8E2D89
RGBrgb(142, 45, 137)
HSLhsl(303, 52%, 37%)
HSVhsv(303, 68%, 56%)
CMYKcmyk(0%, 68.3%, 3.5%, 44.3%)
CIE-LABlab(36.81, 51.91, -30.78)
CIE-LCHlch(36.81, 60.35, 329.34°)
OKLaboklab(47.74% 0.1469 -0.0848)
OKLCHoklch(47.74% 0.17 330)
XYZxyz(16.6090, 9.4349, 24.6084)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D89 #2D8E32
analogous
#632D8E #8E2D89 #8E2D59
triadic
#8E2D89 #898E2D #2D898E
tetradic
#8E2D89 #8E632D #2D8E32 #2D598E
square
#8E2D89 #8E632D #2D8E32 #2D598E
split-complementary
#8E2D89 #598E2D #2D8E63
monochromatic
#31102F #601E5C #8E2D89 #BC3CB6 #CF67C9

Accessibility & contrast

On white

7.27
#8E2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2D89
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D89#FFFFFF#000000##FFFFFF
##8E2D891.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#933857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2d89;
/* rgb */ color: rgb(142, 45, 137);
/* oklch */ color: oklch(47.7% 0.170 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26eac',
    500: '#8e2d89',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d89;
$custom-light: #b26eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d89",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 303.093,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.16961,
    "h": 330
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#8E2D89
secondary
#61B566
accent
#DB544C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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