#8E2E83#8E2E83

#8E2E83 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.163 H 332.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8E2E83
RGBrgb(142, 46, 131)
HSLhsl(307, 51%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 67.6%, 7.7%, 44.3%)
CIE-LABlab(36.64, 50.49, -27.34)
CIE-LCHlch(36.64, 57.42, 331.57°)
OKLaboklab(47.52% 0.1452 -0.0749)
OKLCHoklch(47.52% 0.163 332.7)
XYZxyz(16.2291, 9.3447, 22.4173)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E83 #2E8E39
analogous
#692E8E #8E2E83 #8E2E53
triadic
#8E2E83 #838E2E #2E838E
tetradic
#8E2E83 #8E692E #2E8E39 #2E538E
square
#8E2E83 #8E692E #2E8E39 #2E538E
split-complementary
#8E2E83 #538E2E #2E8E69
monochromatic
#32102E #601F58 #8E2E83 #BC3DAE #CE68C2

Accessibility & contrast

On white

7.32
#8E2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E83
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E83#FFFFFF#000000##FFFFFF
##8E2E831.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2e83;
/* rgb */ color: rgb(142, 46, 131);
/* oklch */ color: oklch(47.5% 0.163 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26fa7',
    500: '#8e2e83',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e83;
$custom-light: #b26fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e83",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 306.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.1634,
    "h": 332.7
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#8E2E83
secondary
#63B56C
accent
#DB5D4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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