#8F3D8A#8F3D8A

#8F3D8A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.8% C 0.148 H 329.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F3D8A
RGBrgb(143, 61, 138)
HSLhsl(304, 40%, 40%)
HSVhsv(304, 57%, 56%)
CMYKcmyk(0%, 57.3%, 3.5%, 43.9%)
CIE-LABlab(39.60, 45.23, -26.99)
CIE-LCHlch(39.60, 52.67, 329.18°)
OKLaboklab(49.82% 0.1278 -0.074)
OKLCHoklch(49.82% 0.148 329.9)
XYZxyz(17.5837, 11.0132, 25.2394)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3D8A #3D8F42
analogous
#6B3D8F #8F3D8A #8F3D61
triadic
#8F3D8A #8A8F3D #3D8A8F
tetradic
#8F3D8A #8F6B3D #3D8F42 #3D618F
square
#8F3D8A #8F6B3D #3D8F42 #3D618F
split-complementary
#8F3D8A #618F3D #3D8F6B
monochromatic
#391837 #642B61 #8F3D8A #B653B0 #C87EC4

Accessibility & contrast

On white

6.56
#8F3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3D8A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3D8A#FFFFFF#000000##FFFFFF
##8F3D8A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#94455E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f3d8a;
/* rgb */ color: rgb(143, 61, 138);
/* oklch */ color: oklch(49.8% 0.148 329.9);
Tailwind
colors: {
  custom: {
    50: '#b277ac',
    500: '#8f3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f3d8a;
$custom-light: #b277ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3d8a",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 303.659,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.14764,
    "h": 329.9
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#8F3D8A
secondary
#76B279
accent
#D05F58
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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