#8E2C9D#8E2C9D

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

Color values

HEX#8E2C9D
RGBrgb(142, 44, 157)
HSLhsl(292, 56%, 39%)
HSVhsv(292, 72%, 62%)
CMYKcmyk(9.6%, 72%, 0%, 38.4%)
CIE-LABlab(37.82, 55.90, -41.37)
CIE-LCHlch(37.82, 69.54, 323.50°)
OKLaboklab(48.84% 0.1481 -0.1155)
OKLCHoklch(48.84% 0.188 322)
XYZxyz(18.1412, 9.9875, 32.8640)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C9D #3B9D2C
analogous
#552C9D #8E2C9D #9D2C74
triadic
#8E2C9D #9D8E2C #2C9D8E
tetradic
#8E2C9D #9D552C #3B9D2C #2C749D
square
#8E2C9D #9D552C #3B9D2C #2C749D
split-complementary
#8E2C9D #749D2C #2C9D55
monochromatic
#38113D #631F6D #8E2C9D #B63DC9 #C86DD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2C9D#FFFFFF#000000##FFFFFF
##8E2C9D1.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)
#0052A0
Deuteranopia (green-blind)
#3B5D9A
Tritanopia (blue-blind)
#904062
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2c9d;
/* rgb */ color: rgb(142, 44, 157);
/* oklch */ color: oklch(48.8% 0.188 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8e2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c9d;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c9d",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 292.035,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.18787,
    "h": 322
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#8E2C9D
secondary
#73BD68
accent
#E0485C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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