#9F29AC#9F29AC

#9F29AC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.211 H 323.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9F29AC
RGBrgb(159, 41, 172)
HSLhsl(294, 62%, 42%)
HSVhsv(294, 76%, 67%)
CMYKcmyk(7.6%, 76.2%, 0%, 32.5%)
CIE-LABlab(41.12, 63.28, -44.93)
CIE-LCHlch(41.12, 77.61, 324.63°)
OKLaboklab(52.02% 0.1699 -0.1254)
OKLCHoklch(52.02% 0.211 323.6)
XYZxyz(22.5367, 11.9368, 40.1387)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29AC #36AC29
analogous
#5E29AC #9F29AC #AC2978
triadic
#9F29AC #AC9F29 #29AC9F
tetradic
#9F29AC #AC5E29 #36AC29 #2978AC
square
#9F29AC #AC5E29 #36AC29 #2978AC
split-complementary
#9F29AC #78AC29 #29AC5E
monochromatic
#441149 #711D7B #9F29AC #C341D2 #D372DD

Accessibility & contrast

On white

6.20
#9F29AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F29AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29AC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29AC#FFFFFF#000000##FFFFFF
##9F29AC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#A24269
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f29ac;
/* rgb */ color: rgb(159, 41, 172);
/* oklch */ color: oklch(52.0% 0.211 323.6);
Tailwind
colors: {
  custom: {
    50: '#bf70c5',
    500: '#9f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #9f29ac;
$custom-light: #bf70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29ac",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 294.046,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.21116,
    "h": 323.6
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#9F29AC
secondary
#75C56C
accent
#E54353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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