#8F3C8A#8F3C8A

#8F3C8A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.7% C 0.149 H 329.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8F3C8A
RGBrgb(143, 60, 138)
HSLhsl(304, 41%, 40%)
HSVhsv(304, 58%, 56%)
CMYKcmyk(0%, 58%, 3.5%, 43.9%)
CIE-LABlab(39.42, 45.72, -27.27)
CIE-LCHlch(39.42, 53.23, 329.18°)
OKLaboklab(49.69% 0.1291 -0.0748)
OKLCHoklch(49.69% 0.149 329.9)
XYZxyz(17.5308, 10.9075, 25.2218)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3C8A #3C8F41
analogous
#6A3C8F #8F3C8A #8F3C61
triadic
#8F3C8A #8A8F3C #3C8A8F
tetradic
#8F3C8A #8F6A3C #3C8F41 #3C618F
square
#8F3C8A #8F6A3C #3C8F41 #3C618F
split-complementary
#8F3C8A #618F3C #3C8F6A
monochromatic
#391837 #642A60 #8F3C8A #B652B0 #C87DC4

Accessibility & contrast

On white

6.60
#8F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8F3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3C8A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3C8A#FFFFFF#000000##FFFFFF
##8F3C8A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568C
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#94445D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f3c8a;
/* rgb */ color: rgb(143, 60, 138);
/* oklch */ color: oklch(49.7% 0.149 329.9);
Tailwind
colors: {
  custom: {
    50: '#b276ac',
    500: '#8f3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f3c8a;
$custom-light: #b276ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3c8a",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 303.614,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.14924,
    "h": 329.9
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#8F3C8A
secondary
#75B278
accent
#D15E57
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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