#8E2F82#8E2F82

#8E2F82 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.161 H 333.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8E2F82
RGBrgb(142, 47, 130)
HSLhsl(308, 50%, 37%)
HSVhsv(308, 67%, 56%)
CMYKcmyk(0%, 66.9%, 8.5%, 44.3%)
CIE-LABlab(36.74, 49.91, -26.57)
CIE-LCHlch(36.74, 56.54, 331.98°)
OKLaboklab(47.57% 0.1439 -0.0727)
OKLCHoklch(47.57% 0.161 333.2)
XYZxyz(16.2012, 9.3968, 22.0752)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F82 #2F8E3B
analogous
#6B2F8E #8E2F82 #8E2F53
triadic
#8E2F82 #828E2F #2F828E
tetradic
#8E2F82 #8E6B2F #2F8E3B #2F538E
square
#8E2F82 #8E6B2F #2F8E3B #2F538E
split-complementary
#8E2F82 #538E2F #2F8E6B
monochromatic
#32112E #602058 #8E2F82 #BC3EAC #CE6AC1

Accessibility & contrast

On white

7.29
#8E2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E2F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F82
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F82#FFFFFF#000000##FFFFFF
##8E2F821.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E84
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#943754
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2f82;
/* rgb */ color: rgb(142, 47, 130);
/* oklch */ color: oklch(47.6% 0.161 333.2);
Tailwind
colors: {
  custom: {
    50: '#b26fa6',
    500: '#8e2f82',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f82;
$custom-light: #b26fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f82",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 307.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.16123,
    "h": 333.2
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#8E2F82
secondary
#64B56E
accent
#DA604E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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