#8E2D83#8E2D83

#8E2D83 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.165 H 332.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8E2D83
RGBrgb(142, 45, 131)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 68.3%, 7.7%, 44.3%)
CIE-LABlab(36.49, 50.90, -27.57)
CIE-LCHlch(36.49, 57.89, 331.56°)
OKLaboklab(47.41% 0.1464 -0.0755)
OKLCHoklch(47.41% 0.165 332.7)
XYZxyz(16.1905, 9.2675, 22.4044)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D83 #2D8E38
analogous
#692D8E #8E2D83 #8E2D53
triadic
#8E2D83 #838E2D #2D838E
tetradic
#8E2D83 #8E692D #2D8E38 #2D538E
square
#8E2D83 #8E692D #2D8E38 #2D538E
split-complementary
#8E2D83 #538E2D #2D8E69
monochromatic
#31102D #601E58 #8E2D83 #BC3CAE #CF67C3

Accessibility & contrast

On white

7.36
#8E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2D83
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D83#FFFFFF#000000##FFFFFF
##8E2D831.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#943654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2d83;
/* rgb */ color: rgb(142, 45, 131);
/* oklch */ color: oklch(47.4% 0.165 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26ea7',
    500: '#8e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d83;
$custom-light: #b26ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d83",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 306.804,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.16475,
    "h": 332.7
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#8E2D83
secondary
#61B56B
accent
#DB5D4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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