#8E2D82#8E2D82

#8E2D82 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.164 H 333.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8E2D82
RGBrgb(142, 45, 130)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 68.3%, 8.5%, 44.3%)
CIE-LABlab(36.44, 50.73, -27.03)
CIE-LCHlch(36.44, 57.48, 331.95°)
OKLaboklab(47.36% 0.1463 -0.074)
OKLCHoklch(47.36% 0.164 333.2)
XYZxyz(16.1230, 9.2405, 22.0492)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D82 #2D8E39
analogous
#6A2D8E #8E2D82 #8E2D52
triadic
#8E2D82 #828E2D #2D828E
tetradic
#8E2D82 #8E6A2D #2D8E39 #2D528E
square
#8E2D82 #8E6A2D #2D8E39 #2D528E
split-complementary
#8E2D82 #528E2D #2D8E6A
monochromatic
#31102D #601E57 #8E2D82 #BC3CAD #CF67C2

Accessibility & contrast

On white

7.37
#8E2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D82
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D82#FFFFFF#000000##FFFFFF
##8E2D821.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#943553
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2d82;
/* rgb */ color: rgb(142, 45, 130);
/* oklch */ color: oklch(47.4% 0.164 333.2);
Tailwind
colors: {
  custom: {
    50: '#b26ea6',
    500: '#8e2d82',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d82;
$custom-light: #b26ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d82",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 307.423,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.16395,
    "h": 333.2
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#8E2D82
secondary
#61B56C
accent
#DB5E4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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