#8E2E85#8E2E85

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

Color values

HEX#8E2E85
RGBrgb(142, 46, 133)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 68%, 56%)
CMYKcmyk(0%, 67.6%, 6.3%, 44.3%)
CIE-LABlab(36.74, 50.83, -28.41)
CIE-LCHlch(36.74, 58.23, 330.79°)
OKLaboklab(47.62% 0.1454 -0.078)
OKLCHoklch(47.62% 0.165 331.8)
XYZxyz(16.3660, 9.3995, 23.1381)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E85 #2E8E37
analogous
#672E8E #8E2E85 #8E2E55
triadic
#8E2E85 #858E2E #2E858E
tetradic
#8E2E85 #8E672E #2E8E37 #2E558E
square
#8E2E85 #8E672E #2E8E37 #2E558E
split-complementary
#8E2E85 #558E2E #2E8E67
monochromatic
#32102E #601F5A #8E2E85 #BC3DB0 #CE68C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2E85#FFFFFF#000000##FFFFFF
##8E2E851.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)
#294E88
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#943755
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2e85;
/* rgb */ color: rgb(142, 46, 133);
/* oklch */ color: oklch(47.6% 0.165 331.8);
Tailwind
colors: {
  custom: {
    50: '#b26fa9',
    500: '#8e2e85',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e85;
$custom-light: #b26fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e85",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 305.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.16501,
    "h": 331.8
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#8E2E85
secondary
#63B56A
accent
#DB5B4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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