#8E1B85#8E1B85

#8E1B85 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.186 H 331.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1B85
RGBrgb(142, 27, 133)
HSLhsl(305, 68%, 33%)
HSVhsv(305, 81%, 56%)
CMYKcmyk(0%, 81%, 6.3%, 44.3%)
CIE-LABlab(34.46, 57.33, -32.02)
CIE-LCHlch(34.46, 65.66, 330.82°)
OKLaboklab(45.98% 0.1643 -0.0882)
OKLCHoklch(45.98% 0.186 331.8)
XYZxyz(15.7809, 8.2294, 22.9431)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B85 #1B8E24
analogous
#5D1B8E #8E1B85 #8E1B4B
triadic
#8E1B85 #858E1B #1B858E
tetradic
#8E1B85 #8E5D1B #1B8E24 #1B4B8E
square
#8E1B85 #8E5D1B #1B8E24 #1B4B8E
split-complementary
#8E1B85 #4B8E1B #1B8E5D
monochromatic
#270725 #5B1155 #8E1B85 #C125B5 #DC47D0

Accessibility & contrast

On white

7.94
#8E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B85
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B85#FFFFFF#000000##FFFFFF
##8E1B851.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#942A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1b85;
/* rgb */ color: rgb(142, 27, 133);
/* oklch */ color: oklch(46.0% 0.186 331.8);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1b85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b85;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b85",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 304.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.18648,
    "h": 331.8
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#8E1B85
secondary
#47BE50
accent
#EB4B3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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