#8F348A#8F348A

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

Color values

HEX#8F348A
RGBrgb(143, 52, 138)
HSLhsl(303, 47%, 38%)
HSVhsv(303, 64%, 56%)
CMYKcmyk(0%, 63.6%, 3.5%, 43.9%)
CIE-LABlab(38.08, 49.41, -29.38)
CIE-LCHlch(38.08, 57.48, 329.26°)
OKLaboklab(48.71% 0.1397 -0.0808)
OKLCHoklch(48.71% 0.161 330)
XYZxyz(17.1430, 10.1318, 25.0925)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F348A #348F39
analogous
#66348F #8F348A #8F345C
triadic
#8F348A #8A8F34 #348A8F
tetradic
#8F348A #8F6634 #348F39 #345C8F
square
#8F348A #8F6634 #348F39 #345C8F
split-complementary
#8F348A #5C8F34 #348F66
monochromatic
#351333 #62245F #8F348A #BB45B5 #CC72C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F348A#FFFFFF#000000##FFFFFF
##8F348A1.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)
#2D528D
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#943E5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f348a;
/* rgb */ color: rgb(143, 52, 138);
/* oklch */ color: oklch(48.7% 0.161 330.0);
Tailwind
colors: {
  custom: {
    50: '#b372ac',
    500: '#8f348a',
    950: '#000000',
  },
}
SCSS
$custom: #8f348a;
$custom-light: #b372ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f348a",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 303.297,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.16137,
    "h": 330
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#8F348A
secondary
#6BB46F
accent
#D65951
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F348A

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

Preview Lab → · Contrast checker → · Palette generator →

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