#9F29B6#9F29B6

#9F29B6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.219 H 320.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9F29B6
RGBrgb(159, 41, 182)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 71%)
CMYKcmyk(12.6%, 77.5%, 0%, 28.6%)
CIE-LABlab(41.74, 65.07, -49.84)
CIE-LCHlch(41.74, 81.97, 322.55°)
OKLaboklab(52.67% 0.1689 -0.1398)
OKLCHoklch(52.67% 0.219 320.4)
XYZxyz(23.5335, 12.3355, 45.3883)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29B6 #40B629
analogous
#5829B6 #9F29B6 #B62986
triadic
#9F29B6 #B69F29 #29B69F
tetradic
#9F29B6 #B65829 #40B629 #2986B6
square
#9F29B6 #B65829 #40B629 #2986B6
split-complementary
#9F29B6 #86B629 #29B658
monochromatic
#481252 #731E84 #9F29B6 #BE47D5 #D079E1

Accessibility & contrast

On white

6.06
#9F29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29B6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29B6#FFFFFF#000000##FFFFFF
##9F29B61.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3866B3
Tritanopia (blue-blind)
#A0476F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f29b6;
/* rgb */ color: rgb(159, 41, 182);
/* oklch */ color: oklch(52.7% 0.219 320.4);
Tailwind
colors: {
  custom: {
    50: '#c071cd',
    500: '#9f29b6',
    950: '#000000',
  },
}
SCSS
$custom: #9f29b6;
$custom-light: #c071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29b6",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 290.213,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.21929,
    "h": 320.4
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#9F29B6
secondary
#80C972
accent
#E6425C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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