#8F2D8A#8F2D8A

#8F2D8A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.171 H 330.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F2D8A
RGBrgb(143, 45, 138)
HSLhsl(303, 52%, 37%)
HSVhsv(303, 69%, 56%)
CMYKcmyk(0%, 68.5%, 3.5%, 43.9%)
CIE-LABlab(37.03, 52.34, -31.04)
CIE-LCHlch(37.03, 60.85, 329.33°)
OKLaboklab(47.95% 0.1481 -0.0855)
OKLCHoklch(47.95% 0.171 330)
XYZxyz(16.8534, 9.5526, 24.9960)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D8A #2D8F32
analogous
#632D8F #8F2D8A #8F2D59
triadic
#8F2D8A #8A8F2D #2D8A8F
tetradic
#8F2D8A #8F632D #2D8F32 #2D598F
square
#8F2D8A #8F632D #2D8F32 #2D598F
split-complementary
#8F2D8A #598F2D #2D8F63
monochromatic
#321030 #601E5D #8F2D8A #BE3CB7 #CF67CA

Accessibility & contrast

On white

7.22
#8F2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D8A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D8A#FFFFFF#000000##FFFFFF
##8F2D8A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#943958
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2d8a;
/* rgb */ color: rgb(143, 45, 138);
/* oklch */ color: oklch(47.9% 0.171 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36fac',
    500: '#8f2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d8a;
$custom-light: #b36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d8a",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 303.061,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.171,
    "h": 330
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#8F2D8A
secondary
#62B666
accent
#DC544C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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