#9D29B6#9D29B6

#9D29B6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.219 H 319.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9D29B6
RGBrgb(157, 41, 182)
HSLhsl(289, 63%, 44%)
HSVhsv(289, 77%, 71%)
CMYKcmyk(13.7%, 77.5%, 0%, 28.6%)
CIE-LABlab(41.43, 64.68, -50.37)
CIE-LCHlch(41.43, 81.98, 322.09°)
OKLaboklab(52.38% 0.1666 -0.1414)
OKLCHoklch(52.38% 0.219 319.7)
XYZxyz(23.1400, 12.1326, 45.3698)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D29B6 #42B629
analogous
#5629B6 #9D29B6 #B62988
triadic
#9D29B6 #B69D29 #29B69D
tetradic
#9D29B6 #B65629 #42B629 #2988B6
square
#9D29B6 #B65629 #42B629 #2988B6
split-complementary
#9D29B6 #88B629 #29B656
monochromatic
#471252 #721E84 #9D29B6 #BC47D5 #CE79E1

Accessibility & contrast

On white

6.13
#9D29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D29B6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D29B6#FFFFFF#000000##FFFFFF
##9D29B61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#9D476F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d29b6;
/* rgb */ color: rgb(157, 41, 182);
/* oklch */ color: oklch(52.4% 0.219 319.7);
Tailwind
colors: {
  custom: {
    50: '#be70cd',
    500: '#9d29b6',
    950: '#000000',
  },
}
SCSS
$custom: #9d29b6;
$custom-light: #be70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d29b6",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 289.362,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.21851,
    "h": 319.7
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#9D29B6
secondary
#82C972
accent
#E6425F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9D29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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