#9F29AB#9F29AB

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

Color values

HEX#9F29AB
RGBrgb(159, 41, 171)
HSLhsl(294, 61%, 42%)
HSVhsv(294, 76%, 67%)
CMYKcmyk(7%, 76%, 0%, 32.9%)
CIE-LABlab(41.05, 63.11, -44.43)
CIE-LCHlch(41.05, 77.18, 324.85°)
OKLaboklab(51.96% 0.1699 -0.124)
OKLCHoklch(51.96% 0.21 323.9)
XYZxyz(22.4411, 11.8985, 39.6348)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29AB #35AB29
analogous
#5E29AB #9F29AB #AB2976
triadic
#9F29AB #AB9F29 #29AB9F
tetradic
#9F29AB #AB5E29 #35AB29 #2976AB
square
#9F29AB #AB5E29 #35AB29 #2976AB
split-complementary
#9F29AB #76AB29 #29AB5E
monochromatic
#431148 #711D7A #9F29AB #C440D1 #D371DD

Accessibility & contrast

On white

6.21
#9F29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29AB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29AB#FFFFFF#000000##FFFFFF
##9F29AB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#A24169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f29ab;
/* rgb */ color: rgb(159, 41, 171);
/* oklch */ color: oklch(52.0% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c5',
    500: '#9f29ab',
    950: '#000000',
  },
}
SCSS
$custom: #9f29ab;
$custom-light: #bf70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29ab",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 294.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.21035,
    "h": 323.9
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#9F29AB
secondary
#74C46C
accent
#E44352
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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