#9F29AA#9F29AA

#9F29AA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.210 H 324.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9F29AA
RGBrgb(159, 41, 170)
HSLhsl(295, 61%, 41%)
HSVhsv(295, 76%, 67%)
CMYKcmyk(6.5%, 75.9%, 0%, 33.3%)
CIE-LABlab(40.99, 62.93, -43.93)
CIE-LCHlch(40.99, 76.75, 325.08°)
OKLaboklab(51.89% 0.17 -0.1225)
OKLCHoklch(51.89% 0.21 324.2)
XYZxyz(22.3461, 11.8605, 39.1347)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29AA #34AA29
analogous
#5F29AA #9F29AA #AA2975
triadic
#9F29AA #AA9F29 #29AA9F
tetradic
#9F29AA #AA5F29 #34AA29 #2975AA
square
#9F29AA #AA5F29 #34AA29 #2975AA
split-complementary
#9F29AA #75AA29 #29AA5F
monochromatic
#431147 #711D79 #9F29AA #C43FD1 #D371DD

Accessibility & contrast

On white

6.23
#9F29AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F29AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29AA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29AA#FFFFFF#000000##FFFFFF
##9F29AA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#A24168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f29aa;
/* rgb */ color: rgb(159, 41, 170);
/* oklch */ color: oklch(51.9% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#bf70c4',
    500: '#9f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f29aa;
$custom-light: #bf70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29aa",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 294.884,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.20955,
    "h": 324.2
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#9F29AA
secondary
#73C46B
accent
#E44451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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