#8F2C8F#8F2C8F

#8F2C8F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 327.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F2C8F
RGBrgb(143, 44, 143)
HSLhsl(300, 53%, 37%)
HSVhsv(300, 69%, 56%)
CMYKcmyk(0%, 69.2%, 0%, 43.9%)
CIE-LABlab(37.16, 53.59, -33.89)
CIE-LCHlch(37.16, 63.41, 327.69°)
OKLaboklab(48.13% 0.1494 -0.0938)
OKLCHoklch(48.13% 0.176 327.9)
XYZxyz(17.1861, 9.6254, 26.9340)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C8F #2C8F2C
analogous
#5E2C8F #8F2C8F #8F2C5E
triadic
#8F2C8F #8F8F2C #2C8F8F
tetradic
#8F2C8F #8F5E2C #2C8F2C #2C5E8F
square
#8F2C8F #8F5E2C #2C8F2C #2C5E8F
split-complementary
#8F2C8F #5E8F2C #2C8F5E
monochromatic
#310F31 #601E60 #8F2C8F #BE3ABE #D066D0

Accessibility & contrast

On white

7.18
#8F2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C8F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C8F#FFFFFF#000000##FFFFFF
##8F2C8F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#933A5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2c8f;
/* rgb */ color: rgb(143, 44, 143);
/* oklch */ color: oklch(48.1% 0.176 327.9);
Tailwind
colors: {
  custom: {
    50: '#b36eb0',
    500: '#8f2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c8f;
$custom-light: #b36eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c8f",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.17641,
    "h": 327.9
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#8F2C8F
secondary
#61B661
accent
#DC4B4B
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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