#8E2F83#8E2F83

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

Color values

HEX#8E2F83
RGBrgb(142, 47, 131)
HSLhsl(307, 50%, 37%)
HSVhsv(307, 67%, 56%)
CMYKcmyk(0%, 66.9%, 7.7%, 44.3%)
CIE-LABlab(36.79, 50.08, -27.11)
CIE-LCHlch(36.79, 56.95, 331.57°)
OKLaboklab(47.62% 0.144 -0.0742)
OKLCHoklch(47.62% 0.162 332.7)
XYZxyz(16.2686, 9.4238, 22.4305)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F83 #2F8E3A
analogous
#6A2F8E #8E2F83 #8E2F54
triadic
#8E2F83 #838E2F #2F838E
tetradic
#8E2F83 #8E6A2F #2F8E3A #2F548E
square
#8E2F83 #8E6A2F #2F8E3A #2F548E
split-complementary
#8E2F83 #548E2F #2F8E6A
monochromatic
#32112E #602059 #8E2F83 #BC3EAD #CE6AC2

Accessibility & contrast

On white

7.28
#8E2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2F83
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F83#FFFFFF#000000##FFFFFF
##8E2F831.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E85
Deuteranopia (green-blind)
#4C5B81
Tritanopia (blue-blind)
#943755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2f83;
/* rgb */ color: rgb(142, 47, 131);
/* oklch */ color: oklch(47.6% 0.162 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26fa7',
    500: '#8e2f83',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f83;
$custom-light: #b26fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f83",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 306.947,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.16203,
    "h": 332.7
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#8E2F83
secondary
#64B56D
accent
#DA5E4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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