#8E2883#8E2883

#8E2883 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 332.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8E2883
RGBrgb(142, 40, 131)
HSLhsl(306, 56%, 36%)
HSVhsv(306, 72%, 56%)
CMYKcmyk(0%, 71.8%, 7.7%, 44.3%)
CIE-LABlab(35.81, 52.83, -28.65)
CIE-LCHlch(35.81, 60.10, 331.53°)
OKLaboklab(46.91% 0.1521 -0.0786)
OKLCHoklch(46.91% 0.171 332.7)
XYZxyz(16.0109, 8.9084, 22.3446)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2883 #288E33
analogous
#66288E #8E2883 #8E2850
triadic
#8E2883 #838E28 #28838E
tetradic
#8E2883 #8E6628 #288E33 #28508E
square
#8E2883 #8E6628 #288E33 #28508E
split-complementary
#8E2883 #508E28 #288E66
monochromatic
#2F0D2B #5E1B57 #8E2883 #BE35AF #D25FC5

Accessibility & contrast

On white

7.55
#8E2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2883
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2883#FFFFFF#000000##FFFFFF
##8E28831.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#495980
Tritanopia (blue-blind)
#943252
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2883;
/* rgb */ color: rgb(142, 40, 131);
/* oklch */ color: oklch(46.9% 0.171 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26ca7',
    500: '#8e2883',
    950: '#000000',
  },
}
SCSS
$custom: #8e2883;
$custom-light: #b26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2883",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 306.471,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.17116,
    "h": 332.7
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#8E2883
secondary
#5BB765
accent
#DF5948
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2883

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

Preview Lab → · Contrast checker → · Palette generator →

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