#8E2F80#8E2F80

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

Color values

HEX#8E2F80
RGBrgb(142, 47, 128)
HSLhsl(309, 50%, 37%)
HSVhsv(309, 67%, 56%)
CMYKcmyk(0%, 66.9%, 9.9%, 44.3%)
CIE-LABlab(36.64, 49.58, -25.48)
CIE-LCHlch(36.64, 55.75, 332.80°)
OKLaboklab(47.47% 0.1437 -0.0696)
OKLCHoklch(47.47% 0.16 334.2)
XYZxyz(16.0682, 9.3436, 21.3751)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F80 #2F8E3D
analogous
#6D2F8E #8E2F80 #8E2F51
triadic
#8E2F80 #808E2F #2F808E
tetradic
#8E2F80 #8E6D2F #2F8E3D #2F518E
square
#8E2F80 #8E6D2F #2F8E3D #2F518E
split-complementary
#8E2F80 #518E2F #2F8E6D
monochromatic
#32112D #602057 #8E2F80 #BC3EA9 #CE6ABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2F80#FFFFFF#000000##FFFFFF
##8E2F801.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)
#2E4D82
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#953653
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2f80;
/* rgb */ color: rgb(142, 47, 128);
/* oklch */ color: oklch(47.5% 0.160 334.2);
Tailwind
colors: {
  custom: {
    50: '#b26fa5',
    500: '#8e2f80',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f80;
$custom-light: #b26fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f80",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 308.842,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.15964,
    "h": 334.2
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#8E2F80
secondary
#64B570
accent
#DA634E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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