#8E2B82#8E2B82

#8E2B82 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.167 H 333.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8E2B82
RGBrgb(142, 43, 130)
HSLhsl(307, 54%, 36%)
HSVhsv(307, 70%, 56%)
CMYKcmyk(0%, 69.7%, 8.5%, 44.3%)
CIE-LABlab(36.16, 51.53, -27.47)
CIE-LCHlch(36.16, 58.39, 331.94°)
OKLaboklab(47.15% 0.1486 -0.0752)
OKLCHoklch(47.15% 0.167 333.1)
XYZxyz(16.0485, 9.0915, 22.0244)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B82 #2B8E37
analogous
#692B8E #8E2B82 #8E2B51
triadic
#8E2B82 #828E2B #2B828E
tetradic
#8E2B82 #8E692B #2B8E37 #2B518E
square
#8E2B82 #8E692B #2B8E37 #2B518E
split-complementary
#8E2B82 #518E2B #2B8E69
monochromatic
#300F2C #5F1D57 #8E2B82 #BD39AD #D063C3

Accessibility & contrast

On white

7.45
#8E2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B82
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B82#FFFFFF#000000##FFFFFF
##8E2B821.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#4A5A80
Tritanopia (blue-blind)
#943453
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2b82;
/* rgb */ color: rgb(142, 43, 130);
/* oklch */ color: oklch(47.2% 0.167 333.1);
Tailwind
colors: {
  custom: {
    50: '#b26da6',
    500: '#8e2b82',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b82;
$custom-light: #b26da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b82",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 307.273,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47152,
    "c": 0.16659,
    "h": 333.1
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#8E2B82
secondary
#5FB669
accent
#DD5D4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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