#8E348D#8E348D

#8E348D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.163 H 328.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8E348D
RGBrgb(142, 52, 141)
HSLhsl(301, 46%, 38%)
HSVhsv(301, 63%, 56%)
CMYKcmyk(0%, 63.4%, 0.7%, 44.3%)
CIE-LABlab(38.08, 49.67, -31.23)
CIE-LCHlch(38.08, 58.68, 327.84°)
OKLaboklab(48.73% 0.1388 -0.0862)
OKLCHoklch(48.73% 0.163 328.2)
XYZxyz(17.1908, 10.1310, 26.2442)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E348D #348E35
analogous
#62348E #8E348D #8E3460
triadic
#8E348D #8D8E34 #348D8E
tetradic
#8E348D #8E6234 #348E35 #34608E
square
#8E348D #8E6234 #348E35 #34608E
split-complementary
#8E348D #608E34 #348E62
monochromatic
#341334 #612461 #8E348D #BB44B9 #CB71CA

Accessibility & contrast

On white

6.94
#8E348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E348D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E348D#FFFFFF#000000##FFFFFF
##8E348D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#923F5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e348d;
/* rgb */ color: rgb(142, 52, 141);
/* oklch */ color: oklch(48.7% 0.163 328.2);
Tailwind
colors: {
  custom: {
    50: '#b272ae',
    500: '#8e348d',
    950: '#000000',
  },
}
SCSS
$custom: #8e348d;
$custom-light: #b272ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e348d",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 300.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.16337,
    "h": 328.2
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#8E348D
secondary
#6AB36B
accent
#D65352
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E348D

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

Preview Lab → · Contrast checker → · Palette generator →

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