#8E2E81#8E2E81

#8E2E81 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.162 H 333.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E2E81
RGBrgb(142, 46, 129)
HSLhsl(308, 51%, 37%)
HSVhsv(308, 68%, 56%)
CMYKcmyk(0%, 67.6%, 9.2%, 44.3%)
CIE-LABlab(36.54, 50.16, -26.26)
CIE-LCHlch(36.54, 56.62, 332.37°)
OKLaboklab(47.41% 0.145 -0.0718)
OKLCHoklch(47.41% 0.162 333.7)
XYZxyz(16.0949, 9.2910, 21.7103)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E81 #2E8E3B
analogous
#6B2E8E #8E2E81 #8E2E51
triadic
#8E2E81 #818E2E #2E818E
tetradic
#8E2E81 #8E6B2E #2E8E3B #2E518E
square
#8E2E81 #8E6B2E #2E8E3B #2E518E
split-complementary
#8E2E81 #518E2E #2E8E6B
monochromatic
#32102D #601F57 #8E2E81 #BC3DAB #CE68C0

Accessibility & contrast

On white

7.35
#8E2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E81
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E81#FFFFFF#000000##FFFFFF
##8E2E811.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#943653
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2e81;
/* rgb */ color: rgb(142, 46, 129);
/* oklch */ color: oklch(47.4% 0.162 333.7);
Tailwind
colors: {
  custom: {
    50: '#b26fa6',
    500: '#8e2e81',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e81;
$custom-light: #b26fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e81",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 308.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.16181,
    "h": 333.7
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#8E2E81
secondary
#63B56E
accent
#DB604D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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