#8E348F#8E348F

#8E348F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.165 H 327.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8E348F
RGBrgb(142, 52, 143)
HSLhsl(299, 47%, 38%)
HSVhsv(299, 64%, 56%)
CMYKcmyk(0.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(38.18, 50.04, -32.29)
CIE-LCHlch(38.18, 59.55, 327.17°)
OKLaboklab(48.84% 0.139 -0.0892)
OKLCHoklch(48.84% 0.165 327.3)
XYZxyz(17.3410, 10.1911, 27.0350)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E348F #358F34
analogous
#60348F #8E348F #8F3462
triadic
#8E348F #8F8E34 #348F8E
tetradic
#8E348F #8F6034 #358F34 #34628F
square
#8E348F #8F6034 #358F34 #34628F
split-complementary
#8E348F #628F34 #348F60
monochromatic
#351335 #612462 #8E348F #BA45BB #CB72CC

Accessibility & contrast

On white

6.91
#8E348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E348F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E348F#FFFFFF#000000##FFFFFF
##8E348F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#495E8D
Tritanopia (blue-blind)
#92405D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e348f;
/* rgb */ color: rgb(142, 52, 143);
/* oklch */ color: oklch(48.8% 0.165 327.3);
Tailwind
colors: {
  custom: {
    50: '#b272b0',
    500: '#8e348f',
    950: '#000000',
  },
}
SCSS
$custom: #8e348f;
$custom-light: #b272b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e348f",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 299.341,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.16512,
    "h": 327.3
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#8E348F
secondary
#6CB46B
accent
#D65153
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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