#9A29BA#9A29BA

#9A29BA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.221 H 317.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9A29BA
RGBrgb(154, 41, 186)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 73%)
CMYKcmyk(17.2%, 78%, 0%, 27.1%)
CIE-LABlab(41.22, 64.86, -53.08)
CIE-LCHlch(41.22, 83.81, 320.70°)
OKLaboklab(52.22% 0.1624 -0.1495)
OKLCHoklch(52.22% 0.221 317.4)
XYZxyz(22.9810, 12.0021, 47.5510)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A29BA #49BA29
analogous
#5229BA #9A29BA #BA2991
triadic
#9A29BA #BA9A29 #29BA9A
tetradic
#9A29BA #BA5229 #49BA29 #2991BA
square
#9A29BA #BA5229 #49BA29 #2991BA
split-complementary
#9A29BA #91BA29 #29BA52
monochromatic
#471356 #701E88 #9A29BA #B849D7 #CB7BE2

Accessibility & contrast

On white

6.18
#9A29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9A29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A29BA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A29BA#FFFFFF#000000##FFFFFF
##9A29BA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2D64B7
Tritanopia (blue-blind)
#984A71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a29ba;
/* rgb */ color: rgb(154, 41, 186);
/* oklch */ color: oklch(52.2% 0.221 317.4);
Tailwind
colors: {
  custom: {
    50: '#bc70cf',
    500: '#9a29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9a29ba;
$custom-light: #bc70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a29ba",
  "rgb": {
    "r": 154,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 286.759,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.22074,
    "h": 317.4
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#9A29BA
secondary
#88CA75
accent
#E74166
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9A29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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