#8E2F84#8E2F84

#8E2F84 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.163 H 332.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8E2F84
RGBrgb(142, 47, 132)
HSLhsl(306, 50%, 37%)
HSVhsv(306, 67%, 56%)
CMYKcmyk(0%, 66.9%, 7%, 44.3%)
CIE-LABlab(36.84, 50.25, -27.65)
CIE-LCHlch(36.84, 57.35, 331.18°)
OKLaboklab(47.68% 0.1441 -0.0758)
OKLCHoklch(47.68% 0.163 332.3)
XYZxyz(16.3367, 9.4510, 22.7891)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F84 #2F8E39
analogous
#692F8E #8E2F84 #8E2F54
triadic
#8E2F84 #848E2F #2F848E
tetradic
#8E2F84 #8E692F #2F8E39 #2F548E
square
#8E2F84 #8E692F #2F8E39 #2F548E
split-complementary
#8E2F84 #548E2F #2F8E69
monochromatic
#32112F #602059 #8E2F84 #BC3EAF #CE6AC3

Accessibility & contrast

On white

7.27
#8E2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F84
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F84#FFFFFF#000000##FFFFFF
##8E2F841.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#4B5C82
Tritanopia (blue-blind)
#943855
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2f84;
/* rgb */ color: rgb(142, 47, 132);
/* oklch */ color: oklch(47.7% 0.163 332.3);
Tailwind
colors: {
  custom: {
    50: '#b26fa8',
    500: '#8e2f84',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f84;
$custom-light: #b26fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f84",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 306.316,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.16284,
    "h": 332.3
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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