#9F29A5#9F29A5

#9F29A5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.206 H 325.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9F29A5
RGBrgb(159, 41, 165)
HSLhsl(297, 60%, 40%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(3.6%, 75.2%, 0%, 35.3%)
CIE-LABlab(40.69, 62.07, -41.43)
CIE-LCHlch(40.69, 74.63, 326.28°)
OKLaboklab(51.59% 0.1702 -0.1152)
OKLCHoklch(51.59% 0.206 325.9)
XYZxyz(21.8821, 11.6749, 36.6910)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29A5 #2FA529
analogous
#6129A5 #9F29A5 #A5296D
triadic
#9F29A5 #A59F29 #29A59F
tetradic
#9F29A5 #A56129 #2FA529 #296DA5
square
#9F29A5 #A56129 #2FA529 #296DA5
split-complementary
#9F29A5 #6DA529 #29A561
monochromatic
#411143 #701D74 #9F29A5 #C83DCF #D66EDB

Accessibility & contrast

On white

6.30
#9F29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F29A5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29A5#FFFFFF#000000##FFFFFF
##9F29A51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A33F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f29a5;
/* rgb */ color: rgb(159, 41, 165);
/* oklch */ color: oklch(51.6% 0.206 325.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c0',
    500: '#9f29a5',
    950: '#000000',
  },
}
SCSS
$custom: #9f29a5;
$custom-light: #bf70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29a5",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 297.097,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.20556,
    "h": 325.9
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#9F29A5
secondary
#6DC268
accent
#E3444C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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