#9F29B7#9F29B7

#9F29B7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.220 H 320.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9F29B7
RGBrgb(159, 41, 183)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 78%, 72%)
CMYKcmyk(13.1%, 77.6%, 0%, 28.2%)
CIE-LABlab(41.81, 65.25, -50.33)
CIE-LCHlch(41.81, 82.41, 322.36°)
OKLaboklab(52.73% 0.1688 -0.1412)
OKLCHoklch(52.73% 0.22 320.1)
XYZxyz(23.6372, 12.3769, 45.9345)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29B7 #41B729
analogous
#5829B7 #9F29B7 #B72988
triadic
#9F29B7 #B79F29 #29B79F
tetradic
#9F29B7 #B75829 #41B729 #2988B7
square
#9F29B7 #B75829 #41B729 #2988B7
split-complementary
#9F29B7 #88B729 #29B758
monochromatic
#481353 #741E85 #9F29B7 #BE47D6 #D079E1

Accessibility & contrast

On white

6.04
#9F29B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9F29B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29B7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29B7#FFFFFF#000000##FFFFFF
##9F29B71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#9F4770
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f29b7;
/* rgb */ color: rgb(159, 41, 183);
/* oklch */ color: oklch(52.7% 0.220 320.1);
Tailwind
colors: {
  custom: {
    50: '#c071cd',
    500: '#9f29b7',
    950: '#000000',
  },
}
SCSS
$custom: #9f29b7;
$custom-light: #c071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29b7",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 289.859,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.2201,
    "h": 320.1
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#9F29B7
secondary
#81C973
accent
#E6415D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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