#8E2783#8E2783

#8E2783 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.172 H 332.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8E2783
RGBrgb(142, 39, 131)
HSLhsl(306, 57%, 35%)
HSVhsv(306, 73%, 56%)
CMYKcmyk(0%, 72.5%, 7.7%, 44.3%)
CIE-LABlab(35.68, 53.20, -28.85)
CIE-LCHlch(35.68, 60.52, 331.53°)
OKLaboklab(46.82% 0.1531 -0.0792)
OKLCHoklch(46.82% 0.172 332.7)
XYZxyz(15.9776, 8.8418, 22.3335)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2783 #278E32
analogous
#65278E #8E2783 #8E274F
triadic
#8E2783 #838E27 #27838E
tetradic
#8E2783 #8E6527 #278E32 #274F8E
square
#8E2783 #8E6527 #278E32 #274F8E
split-complementary
#8E2783 #4F8E27 #278E65
monochromatic
#2E0D2A #5E1A57 #8E2783 #BE34AF #D25DC6

Accessibility & contrast

On white

7.59
#8E2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2783
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2783#FFFFFF#000000##FFFFFF
##8E27831.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#485980
Tritanopia (blue-blind)
#943152
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2783;
/* rgb */ color: rgb(142, 39, 131);
/* oklch */ color: oklch(46.8% 0.172 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26ba7',
    500: '#8e2783',
    950: '#000000',
  },
}
SCSS
$custom: #8e2783;
$custom-light: #b26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2783",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 306.408,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.17237,
    "h": 332.7
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#8E2783
secondary
#59B863
accent
#E05848
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2783

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

Preview Lab → · Contrast checker → · Palette generator →

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