#8E2B9F#8E2B9F

#8E2B9F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.191 H 321.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E2B9F
RGBrgb(142, 43, 159)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 73%, 62%)
CMYKcmyk(10.7%, 73%, 0%, 37.6%)
CIE-LABlab(37.81, 56.65, -42.59)
CIE-LCHlch(37.81, 70.87, 323.07°)
OKLaboklab(48.87% 0.149 -0.1191)
OKLCHoklch(48.87% 0.191 321.4)
XYZxyz(18.2765, 9.9827, 33.7583)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B9F #3C9F2B
analogous
#542B9F #8E2B9F #9F2B76
triadic
#8E2B9F #9F8E2B #2B9F8E
tetradic
#8E2B9F #9F542B #3C9F2B #2B769F
square
#8E2B9F #9F542B #3C9F2B #2B769F
split-complementary
#8E2B9F #769F2B #2B9F54
monochromatic
#38113F #631E6F #8E2B9F #B63DCA #C86DD7

Accessibility & contrast

On white

7.01
#8E2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E2B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2B9F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B9F#FFFFFF#000000##FFFFFF
##8E2B9F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#395D9C
Tritanopia (blue-blind)
#8F4162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2b9f;
/* rgb */ color: rgb(142, 43, 159);
/* oklch */ color: oklch(48.9% 0.191 321.4);
Tailwind
colors: {
  custom: {
    50: '#b36ebc',
    500: '#8e2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b9f;
$custom-light: #b36ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b9f",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 291.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.19078,
    "h": 321.4
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#8E2B9F
secondary
#74BE67
accent
#E1475E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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