#9F29BA#9F29BA

#9F29BA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.223 H 319.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9F29BA
RGBrgb(159, 41, 186)
HSLhsl(289, 64%, 45%)
HSVhsv(289, 78%, 73%)
CMYKcmyk(14.5%, 78%, 0%, 27.1%)
CIE-LABlab(42.00, 65.80, -51.78)
CIE-LCHlch(42.00, 83.73, 321.80°)
OKLaboklab(52.93% 0.1684 -0.1455)
OKLCHoklch(52.93% 0.223 319.2)
XYZxyz(23.9528, 12.5032, 47.5965)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29BA #44BA29
analogous
#5729BA #9F29BA #BA298C
triadic
#9F29BA #BA9F29 #29BA9F
tetradic
#9F29BA #BA5729 #44BA29 #298CBA
square
#9F29BA #BA5729 #44BA29 #298CBA
split-complementary
#9F29BA #8CBA29 #29BA57
monochromatic
#491356 #741E88 #9F29BA #BD49D7 #CF7BE2

Accessibility & contrast

On white

6.00
#9F29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9F29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29BA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29BA#FFFFFF#000000##FFFFFF
##9F29BA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#9F4971
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f29ba;
/* rgb */ color: rgb(159, 41, 186);
/* oklch */ color: oklch(52.9% 0.223 319.2);
Tailwind
colors: {
  custom: {
    50: '#c071cf',
    500: '#9f29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f29ba;
$custom-light: #c071cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29ba",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 288.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.22257,
    "h": 319.2
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#9F29BA
secondary
#85CA75
accent
#E74160
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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