#9D29BC#9D29BC

#9D29BC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.224 H 317.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D29BC
RGBrgb(157, 41, 188)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(16.5%, 78.2%, 0%, 26.3%)
CIE-LABlab(41.82, 65.79, -53.26)
CIE-LCHlch(41.82, 84.65, 321.01°)
OKLaboklab(52.79% 0.1658 -0.1499)
OKLCHoklch(52.79% 0.224 317.9)
XYZxyz(23.7734, 12.3859, 48.7057)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D29BC #48BC29
analogous
#5429BC #9D29BC #BC2991
triadic
#9D29BC #BC9D29 #29BC9D
tetradic
#9D29BC #BC5429 #48BC29 #2991BC
square
#9D29BC #BC5429 #48BC29 #2991BC
split-complementary
#9D29BC #91BC29 #29BC54
monochromatic
#491358 #731E8A #9D29BC #BA4BD8 #CD7DE3

Accessibility & contrast

On white

6.04
#9D29BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D29BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D29BC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D29BC#FFFFFF#000000##FFFFFF
##9D29BC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#9C4A72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d29bc;
/* rgb */ color: rgb(157, 41, 188);
/* oklch */ color: oklch(52.8% 0.224 317.9);
Tailwind
colors: {
  custom: {
    50: '#be71d1',
    500: '#9d29bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d29bc;
$custom-light: #be71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d29bc",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 287.347,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.2235,
    "h": 317.9
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#9D29BC
secondary
#88CB76
accent
#E74164
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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