#9D29BD#9D29BD

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

Color values

HEX#9D29BD
RGBrgb(157, 41, 189)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(16.9%, 78.3%, 0%, 25.9%)
CIE-LABlab(41.89, 65.98, -53.74)
CIE-LCHlch(41.89, 85.10, 320.84°)
OKLaboklab(52.85% 0.1656 -0.1513)
OKLCHoklch(52.85% 0.224 317.6)
XYZxyz(23.8815, 12.4292, 49.2754)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D29BD #49BD29
analogous
#5329BD #9D29BD #BD2993
triadic
#9D29BD #BD9D29 #29BD9D
tetradic
#9D29BD #BD5329 #49BD29 #2993BD
square
#9D29BD #BD5329 #49BD29 #2993BD
split-complementary
#9D29BD #93BD29 #29BD53
monochromatic
#491358 #731E8B #9D29BD #BA4BD8 #CD7DE3

Accessibility & contrast

On white

6.02
#9D29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D29BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D29BD#FFFFFF#000000##FFFFFF
##9D29BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#9C4A73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d29bd;
/* rgb */ color: rgb(157, 41, 189);
/* oklch */ color: oklch(52.9% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#be71d2',
    500: '#9d29bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d29bd;
$custom-light: #be71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d29bd",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 287.027,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.22433,
    "h": 317.6
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#9D29BD
secondary
#89CB77
accent
#E74065
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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