#8F29AC#8F29AC

#8F29AC is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.205 H 317.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F29AC
RGBrgb(143, 41, 172)
HSLhsl(287, 62%, 42%)
HSVhsv(287, 76%, 67%)
CMYKcmyk(16.9%, 76.2%, 0%, 32.5%)
CIE-LABlab(38.56, 60.06, -49.17)
CIE-LCHlch(38.56, 77.62, 320.69°)
OKLaboklab(49.7% 0.1509 -0.1383)
OKLCHoklch(49.7% 0.205 317.5)
XYZxyz(19.5659, 10.4049, 39.9994)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29AC #46AC29
analogous
#4E29AC #8F29AC #AC2987
triadic
#8F29AC #AC8F29 #29AC8F
tetradic
#8F29AC #AC4E29 #46AC29 #2987AC
square
#8F29AC #AC4E29 #46AC29 #2987AC
split-complementary
#8F29AC #87AC29 #29AC4E
monochromatic
#3D1149 #661D7B #8F29AC #B241D2 #C672DD

Accessibility & contrast

On white

6.82
#8F29AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F29AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29AC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29AC#FFFFFF#000000##FFFFFF
##8F29AC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#8E4569
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f29ac;
/* rgb */ color: rgb(143, 41, 172);
/* oklch */ color: oklch(49.7% 0.205 317.5);
Tailwind
colors: {
  custom: {
    50: '#b46ec5',
    500: '#8f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f29ac;
$custom-light: #b46ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29ac",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 286.718,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.20472,
    "h": 317.5
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#8F29AC
secondary
#80C56C
accent
#E54367
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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