#9F29A6#9F29A6

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

Color values

HEX#9F29A6
RGBrgb(159, 41, 166)
HSLhsl(297, 60%, 41%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(4.2%, 75.3%, 0%, 34.9%)
CIE-LABlab(40.75, 62.24, -41.93)
CIE-LCHlch(40.75, 75.05, 326.03°)
OKLaboklab(51.65% 0.1702 -0.1167)
OKLCHoklch(51.65% 0.206 325.6)
XYZxyz(21.9735, 11.7114, 37.1722)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29A6 #30A629
analogous
#6029A6 #9F29A6 #A6296E
triadic
#9F29A6 #A69F29 #29A69F
tetradic
#9F29A6 #A66029 #30A629 #296EA6
square
#9F29A6 #A66029 #30A629 #296EA6
split-complementary
#9F29A6 #6EA629 #29A660
monochromatic
#411144 #701D75 #9F29A6 #C73DCF #D56EDB

Accessibility & contrast

On white

6.28
#9F29A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9F29A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29A6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29A6#FFFFFF#000000##FFFFFF
##9F29A61.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A33F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f29a6;
/* rgb */ color: rgb(159, 41, 166);
/* oklch */ color: oklch(51.6% 0.206 325.6);
Tailwind
colors: {
  custom: {
    50: '#bf70c1',
    500: '#9f29a6',
    950: '#000000',
  },
}
SCSS
$custom: #9f29a6;
$custom-light: #bf70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29a6",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 296.64,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.20635,
    "h": 325.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#9F29A6
secondary
#6EC269
accent
#E4444D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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