#9F29A4#9F29A4

#9F29A4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 326.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F29A4
RGBrgb(159, 41, 164)
HSLhsl(298, 60%, 40%)
HSVhsv(298, 75%, 64%)
CMYKcmyk(3%, 75%, 0%, 35.7%)
CIE-LABlab(40.64, 61.90, -40.92)
CIE-LCHlch(40.64, 74.20, 326.53°)
OKLaboklab(51.52% 0.1703 -0.1137)
OKLCHoklch(51.52% 0.205 326.3)
XYZxyz(21.7914, 11.6386, 36.2135)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29A4 #2EA429
analogous
#6129A4 #9F29A4 #A4296B
triadic
#9F29A4 #A49F29 #29A49F
tetradic
#9F29A4 #A46129 #2EA429 #296BA4
square
#9F29A4 #A46129 #2EA429 #296BA4
split-complementary
#9F29A4 #6BA429 #29A461
monochromatic
#401142 #701D73 #9F29A4 #C83CCE #D66DDA

Accessibility & contrast

On white

6.31
#9F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F29A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29A4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29A4#FFFFFF#000000##FFFFFF
##9F29A41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#A33E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f29a4;
/* rgb */ color: rgb(159, 41, 164);
/* oklch */ color: oklch(51.5% 0.205 326.3);
Tailwind
colors: {
  custom: {
    50: '#bf70bf',
    500: '#9f29a4',
    950: '#000000',
  },
}
SCSS
$custom: #9f29a4;
$custom-light: #bf70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29a4",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 297.561,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.20477,
    "h": 326.3
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#9F29A4
secondary
#6BC168
accent
#E3454B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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