#8E2A85#8E2A85

#8E2A85 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 331.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8E2A85
RGBrgb(142, 42, 133)
HSLhsl(305, 54%, 36%)
HSVhsv(305, 70%, 56%)
CMYKcmyk(0%, 70.4%, 6.3%, 44.3%)
CIE-LABlab(36.18, 52.41, -29.30)
CIE-LCHlch(36.18, 60.04, 330.79°)
OKLaboklab(47.22% 0.15 -0.0805)
OKLCHoklch(47.22% 0.17 331.8)
XYZxyz(16.2169, 9.1014, 23.0884)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A85 #2A8E33
analogous
#652A8E #8E2A85 #8E2A53
triadic
#8E2A85 #858E2A #2A858E
tetradic
#8E2A85 #8E652A #2A8E33 #2A538E
square
#8E2A85 #8E652A #2A8E33 #2A538E
split-complementary
#8E2A85 #538E2A #2A8E65
monochromatic
#300E2D #5F1C59 #8E2A85 #BD38B1 #D162C7

Accessibility & contrast

On white

7.45
#8E2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A85
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A85#FFFFFF#000000##FFFFFF
##8E2A851.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#495A82
Tritanopia (blue-blind)
#943454
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2a85;
/* rgb */ color: rgb(142, 42, 133);
/* oklch */ color: oklch(47.2% 0.170 331.8);
Tailwind
colors: {
  custom: {
    50: '#b26da9',
    500: '#8e2a85',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a85;
$custom-light: #b26da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a85",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 305.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.17024,
    "h": 331.8
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#8E2A85
secondary
#5DB665
accent
#DE574A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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