#8E2B91#8E2B91

#8E2B91 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 326.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8E2B91
RGBrgb(142, 43, 145)
HSLhsl(298, 54%, 37%)
HSVhsv(298, 70%, 57%)
CMYKcmyk(2.1%, 70.3%, 0%, 43.1%)
CIE-LABlab(36.97, 54.09, -35.42)
CIE-LCHlch(36.97, 64.66, 326.78°)
OKLaboklab(48% 0.1494 -0.0982)
OKLCHoklch(48% 0.179 326.7)
XYZxyz(17.1297, 9.5240, 27.7187)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B91 #2E912B
analogous
#5B2B91 #8E2B91 #912B61
triadic
#8E2B91 #918E2B #2B918E
tetradic
#8E2B91 #915B2B #2E912B #2B6191
square
#8E2B91 #915B2B #2E912B #2B6191
split-complementary
#8E2B91 #61912B #2B915B
monochromatic
#320F33 #601D62 #8E2B91 #BC39C0 #CE65D1

Accessibility & contrast

On white

7.23
#8E2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B91
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B91#FFFFFF#000000##FFFFFF
##8E2B911.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#923B5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2b91;
/* rgb */ color: rgb(142, 43, 145);
/* oklch */ color: oklch(48.0% 0.179 326.7);
Tailwind
colors: {
  custom: {
    50: '#b26eb2',
    500: '#8e2b91',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b91;
$custom-light: #b26eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b91",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 298.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.1788,
    "h": 326.7
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#8E2B91
secondary
#63B860
accent
#DE4A4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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