#8E1B9F#8E1B9F

#8E1B9F is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.206 H 322.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8E1B9F
RGBrgb(142, 27, 159)
HSLhsl(292, 71%, 36%)
HSVhsv(292, 83%, 62%)
CMYKcmyk(10.7%, 83%, 0%, 37.6%)
CIE-LABlab(36.06, 61.70, -45.40)
CIE-LCHlch(36.06, 76.60, 323.65°)
OKLaboklab(47.63% 0.1626 -0.1272)
OKLCHoklch(47.63% 0.206 322)
XYZxyz(17.8046, 9.0389, 33.6010)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B9F #2C9F1B
analogous
#4C1B9F #8E1B9F #9F1B6E
triadic
#8E1B9F #9F8E1B #1B9F8E
tetradic
#8E1B9F #9F4C1B #2C9F1B #1B6E9F
square
#8E1B9F #9F4C1B #2C9F1B #1B6E9F
split-complementary
#8E1B9F #6E9F1B #1B9F4C
monochromatic
#310936 #5F126B #8E1B9F #BD24D3 #CF53E2

Accessibility & contrast

On white

7.48
#8E1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B9F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B9F#FFFFFF#000000##FFFFFF
##8E1B9F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#90385F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1b9f;
/* rgb */ color: rgb(142, 27, 159);
/* oklch */ color: oklch(47.6% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#b368bc',
    500: '#8e1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b9f;
$custom-light: #b368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b9f",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 292.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.20645,
    "h": 322
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#8E1B9F
secondary
#60C551
accent
#EE3A51
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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