#8E1B89#8E1B89

#8E1B89 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.189 H 330.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8E1B89
RGBrgb(142, 27, 137)
HSLhsl(303, 68%, 33%)
HSVhsv(303, 81%, 56%)
CMYKcmyk(0%, 81%, 3.5%, 44.3%)
CIE-LABlab(34.69, 57.97, -34.14)
CIE-LCHlch(34.69, 67.27, 329.51°)
OKLaboklab(46.22% 0.1643 -0.0944)
OKLCHoklch(46.22% 0.189 330.1)
XYZxyz(16.0626, 8.3421, 24.4263)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B89 #1B8E20
analogous
#591B8E #8E1B89 #8E1B4F
triadic
#8E1B89 #898E1B #1B898E
tetradic
#8E1B89 #8E591B #1B8E20 #1B4F8E
square
#8E1B89 #8E591B #1B8E20 #1B4F8E
split-complementary
#8E1B89 #4F8E1B #1B8E59
monochromatic
#270726 #5B1157 #8E1B89 #C125BB #DC47D6

Accessibility & contrast

On white

7.87
#8E1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B89
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B89#FFFFFF#000000##FFFFFF
##8E1B891.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#942D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1b89;
/* rgb */ color: rgb(142, 27, 137);
/* oklch */ color: oklch(46.2% 0.189 330.1);
Tailwind
colors: {
  custom: {
    50: '#b367ac',
    500: '#8e1b89',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b89;
$custom-light: #b367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b89",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 302.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.18945,
    "h": 330.1
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#8E1B89
secondary
#47BE4C
accent
#EB443D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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