#8E1D91#8E1D91

#8E1D91 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.194 H 327.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8E1D91
RGBrgb(142, 29, 145)
HSLhsl(298, 67%, 34%)
HSVhsv(298, 80%, 57%)
CMYKcmyk(2.1%, 80%, 0%, 43.1%)
CIE-LABlab(35.35, 58.73, -38.00)
CIE-LCHlch(35.35, 69.96, 327.10°)
OKLaboklab(46.84% 0.1624 -0.1056)
OKLCHoklch(46.84% 0.194 327)
XYZxyz(16.7053, 8.6751, 27.5772)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D91 #20911D
analogous
#541D91 #8E1D91 #911D5A
triadic
#8E1D91 #918E1D #1D918E
tetradic
#8E1D91 #91541D #20911D #1D5A91
square
#8E1D91 #91541D #20911D #1D5A91
split-complementary
#8E1D91 #5A911D #1D9154
monochromatic
#2A092B #5C135E #8E1D91 #C027C4 #D84DDB

Accessibility & contrast

On white

7.68
#8E1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D91
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D91#FFFFFF#000000##FFFFFF
##8E1D911.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#923257
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e1d91;
/* rgb */ color: rgb(142, 29, 145);
/* oklch */ color: oklch(46.8% 0.194 327.0);
Tailwind
colors: {
  custom: {
    50: '#b368b2',
    500: '#8e1d91',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d91;
$custom-light: #b368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d91",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 298.448,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.19376,
    "h": 327
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#8E1D91
secondary
#4FBE4C
accent
#EA3E43
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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