#8F2C8A#8F2C8A

#8F2C8A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.172 H 330.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8F2C8A
RGBrgb(143, 44, 138)
HSLhsl(303, 53%, 37%)
HSVhsv(303, 69%, 56%)
CMYKcmyk(0%, 69.2%, 3.5%, 43.9%)
CIE-LABlab(36.89, 52.73, -31.26)
CIE-LCHlch(36.89, 61.30, 329.34°)
OKLaboklab(47.85% 0.1492 -0.0861)
OKLCHoklch(47.85% 0.172 330)
XYZxyz(16.8157, 9.4772, 24.9834)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C8A #2C8F31
analogous
#632C8F #8F2C8A #8F2C59
triadic
#8F2C8A #8A8F2C #2C8A8F
tetradic
#8F2C8A #8F632C #2C8F31 #2C598F
square
#8F2C8A #8F632C #2C8F31 #2C598F
split-complementary
#8F2C8A #598F2C #2C8F63
monochromatic
#310F30 #601E5D #8F2C8A #BE3AB7 #D066CA

Accessibility & contrast

On white

7.25
#8F2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C8A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C8A#FFFFFF#000000##FFFFFF
##8F2C8A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#943857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2c8a;
/* rgb */ color: rgb(143, 44, 138);
/* oklch */ color: oklch(47.8% 0.172 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36eac',
    500: '#8f2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c8a;
$custom-light: #b36eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c8a",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 303.03,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.17229,
    "h": 330
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#8F2C8A
secondary
#61B665
accent
#DC534B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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