#8E2E89#8E2E89

#8E2E89 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.168 H 330.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2E89
RGBrgb(142, 46, 137)
HSLhsl(303, 51%, 37%)
HSVhsv(303, 68%, 56%)
CMYKcmyk(0%, 67.6%, 3.5%, 44.3%)
CIE-LABlab(36.95, 51.51, -30.55)
CIE-LCHlch(36.95, 59.89, 329.33°)
OKLaboklab(47.84% 0.1457 -0.0841)
OKLCHoklch(47.84% 0.168 330)
XYZxyz(16.6476, 9.5121, 24.6213)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E89 #2E8E33
analogous
#632E8E #8E2E89 #8E2E59
triadic
#8E2E89 #898E2E #2E898E
tetradic
#8E2E89 #8E632E #2E8E33 #2E598E
square
#8E2E89 #8E632E #2E8E33 #2E598E
split-complementary
#8E2E89 #598E2E #2E8E63
monochromatic
#321030 #601F5C #8E2E89 #BC3DB6 #CE68C9

Accessibility & contrast

On white

7.24
#8E2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E89
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E89#FFFFFF#000000##FFFFFF
##8E2E891.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#933957
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2e89;
/* rgb */ color: rgb(142, 46, 137);
/* oklch */ color: oklch(47.8% 0.168 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26fac',
    500: '#8e2e89',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e89;
$custom-light: #b26fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e89",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 303.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.16828,
    "h": 330
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#8E2E89
secondary
#63B567
accent
#DB554D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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