#8E349D#8E349D

#8E349D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.178 H 321.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8E349D
RGBrgb(142, 52, 157)
HSLhsl(291, 50%, 41%)
HSVhsv(291, 67%, 62%)
CMYKcmyk(9.6%, 66.9%, 0%, 38.4%)
CIE-LABlab(38.97, 52.66, -39.53)
CIE-LCHlch(38.97, 65.84, 323.11°)
OKLaboklab(49.66% 0.1394 -0.1102)
OKLCHoklch(49.66% 0.178 321.7)
XYZxyz(18.4685, 10.6421, 32.9731)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E349D #439D34
analogous
#59349D #8E349D #9D3477
triadic
#8E349D #9D8E34 #349D8E
tetradic
#8E349D #9D5934 #439D34 #34779D
square
#8E349D #9D5934 #439D34 #34779D
split-complementary
#8E349D #779D34 #349D59
monochromatic
#3B1641 #64256F #8E349D #B24BC3 #C679D3

Accessibility & contrast

On white

6.71
#8E349D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E349D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E349D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E349D#FFFFFF#000000##FFFFFF
##8E349D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1655A0
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#8F4664
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e349d;
/* rgb */ color: rgb(142, 52, 157);
/* oklch */ color: oklch(49.7% 0.178 321.7);
Tailwind
colors: {
  custom: {
    50: '#b273ba',
    500: '#8e349d',
    950: '#000000',
  },
}
SCSS
$custom: #8e349d;
$custom-light: #b273ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e349d",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 291.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49664,
    "c": 0.1777,
    "h": 321.7
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#8E349D
secondary
#7CBB72
accent
#DA4E62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E349D

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

Preview Lab → · Contrast checker → · Palette generator →

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