#8E349C#8E349C

#8E349C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 322.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E349C
RGBrgb(142, 52, 156)
HSLhsl(292, 50%, 41%)
HSVhsv(292, 67%, 61%)
CMYKcmyk(9%, 66.7%, 0%, 38.8%)
CIE-LABlab(38.91, 52.47, -39.02)
CIE-LCHlch(38.91, 65.38, 323.36°)
OKLaboklab(49.6% 0.1394 -0.1088)
OKLCHoklch(49.6% 0.177 322)
XYZxyz(18.3834, 10.6080, 32.5253)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E349C #429C34
analogous
#5A349C #8E349C #9C3476
triadic
#8E349C #9C8E34 #349C8E
tetradic
#8E349C #9C5A34 #429C34 #34769C
square
#8E349C #9C5A34 #429C34 #34769C
split-complementary
#8E349C #769C34 #349C5A
monochromatic
#3A1540 #64256E #8E349C #B34AC3 #C678D2

Accessibility & contrast

On white

6.73
#8E349C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E349C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E349C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E349C#FFFFFF#000000##FFFFFF
##8E349C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#904563
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e349c;
/* rgb */ color: rgb(142, 52, 156);
/* oklch */ color: oklch(49.6% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#b273ba',
    500: '#8e349c',
    950: '#000000',
  },
}
SCSS
$custom: #8e349c;
$custom-light: #b273ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e349c",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 291.923,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.1768,
    "h": 322
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#8E349C
secondary
#7BBB71
accent
#DA4E61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E349C

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

Preview Lab → · Contrast checker → · Palette generator →

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