#9D29BA#9D29BA

#9D29BA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.222 H 318.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9D29BA
RGBrgb(157, 41, 186)
HSLhsl(288, 64%, 45%)
HSVhsv(288, 78%, 73%)
CMYKcmyk(15.6%, 78%, 0%, 27.1%)
CIE-LABlab(41.69, 65.42, -52.30)
CIE-LCHlch(41.69, 83.76, 321.36°)
OKLaboklab(52.65% 0.1661 -0.1471)
OKLCHoklch(52.65% 0.222 318.5)
XYZxyz(23.5593, 12.3003, 47.5781)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D29BA #46BA29
analogous
#5529BA #9D29BA #BA298F
triadic
#9D29BA #BA9D29 #29BA9D
tetradic
#9D29BA #BA5529 #46BA29 #298FBA
square
#9D29BA #BA5529 #46BA29 #298FBA
split-complementary
#9D29BA #8FBA29 #29BA55
monochromatic
#481356 #731E88 #9D29BA #BB49D7 #CD7BE2

Accessibility & contrast

On white

6.07
#9D29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D29BA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D29BA#FFFFFF#000000##FFFFFF
##9D29BA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#9C4971
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d29ba;
/* rgb */ color: rgb(157, 41, 186);
/* oklch */ color: oklch(52.6% 0.222 318.5);
Tailwind
colors: {
  custom: {
    50: '#be71cf',
    500: '#9d29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d29ba;
$custom-light: #be71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d29ba",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 288,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.22183,
    "h": 318.5
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#9D29BA
secondary
#86CA75
accent
#E74162
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9D29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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