#8E2C9C#8E2C9C

#8E2C9C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.187 H 322.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8E2C9C
RGBrgb(142, 44, 156)
HSLhsl(293, 56%, 39%)
HSVhsv(293, 72%, 61%)
CMYKcmyk(9%, 71.8%, 0%, 38.8%)
CIE-LABlab(37.76, 55.71, -40.86)
CIE-LCHlch(37.76, 69.09, 323.74°)
OKLaboklab(48.77% 0.1482 -0.1141)
OKLCHoklch(48.77% 0.187 322.4)
XYZxyz(18.0561, 9.9535, 32.4162)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C9C #3A9C2C
analogous
#562C9C #8E2C9C #9C2C72
triadic
#8E2C9C #9C8E2C #2C9C8E
tetradic
#8E2C9C #9C562C #3A9C2C #2C729C
square
#8E2C9C #9C562C #3A9C2C #2C729C
split-complementary
#8E2C9C #729C2C #2C9C56
monochromatic
#37113D #631F6C #8E2C9C #B73DC8 #C96DD6

Accessibility & contrast

On white

7.02
#8E2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C9C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C9C#FFFFFF#000000##FFFFFF
##8E2C9C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#3C5D99
Tritanopia (blue-blind)
#904061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2c9c;
/* rgb */ color: rgb(142, 44, 156);
/* oklch */ color: oklch(48.8% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8e2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c9c;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c9c",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 292.5,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.18699,
    "h": 322.4
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#8E2C9C
secondary
#72BD67
accent
#DF495B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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