#8D348E#8D348E

#8D348E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.164 H 327.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D348E
RGBrgb(141, 52, 142)
HSLhsl(299, 46%, 38%)
HSVhsv(299, 63%, 56%)
CMYKcmyk(0.7%, 63.4%, 0%, 44.3%)
CIE-LABlab(37.97, 49.59, -32.02)
CIE-LCHlch(37.97, 59.03, 327.15°)
OKLaboklab(48.64% 0.1377 -0.0884)
OKLCHoklch(48.64% 0.164 327.3)
XYZxyz(17.0947, 10.0728, 26.6298)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D348E #358E34
analogous
#60348E #8D348E #8E3462
triadic
#8D348E #8E8D34 #348E8D
tetradic
#8D348E #8E6034 #358E34 #34628E
square
#8D348E #8E6034 #358E34 #34628E
split-complementary
#8D348E #628E34 #348E60
monochromatic
#341334 #612461 #8D348E #B944BB #CA71CB

Accessibility & contrast

On white

6.97
#8D348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D348E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D348E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D348E#FFFFFF#000000##FFFFFF
##8D348E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#495D8C
Tritanopia (blue-blind)
#91405C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d348e;
/* rgb */ color: rgb(141, 52, 142);
/* oklch */ color: oklch(48.6% 0.164 327.3);
Tailwind
colors: {
  custom: {
    50: '#b172af',
    500: '#8d348e',
    950: '#000000',
  },
}
SCSS
$custom: #8d348e;
$custom-light: #b172af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d348e",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 299.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.16367,
    "h": 327.3
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#8D348E
secondary
#6BB36A
accent
#D65253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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