#9A29BD#9A29BD

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

Color values

HEX#9A29BD
RGBrgb(154, 41, 189)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 74%)
CMYKcmyk(18.5%, 78.3%, 0%, 25.9%)
CIE-LABlab(41.42, 65.43, -54.52)
CIE-LCHlch(41.42, 85.16, 320.20°)
OKLaboklab(52.43% 0.162 -0.1537)
OKLCHoklch(52.43% 0.223 316.5)
XYZxyz(23.3033, 12.1310, 49.2483)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A29BD #4CBD29
analogous
#5029BD #9A29BD #BD2996
triadic
#9A29BD #BD9A29 #29BD9A
tetradic
#9A29BD #BD5029 #4CBD29 #2996BD
square
#9A29BD #BD5029 #4CBD29 #2996BD
split-complementary
#9A29BD #96BD29 #29BD50
monochromatic
#481358 #711E8B #9A29BD #B74BD8 #CB7DE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A29BD#FFFFFF#000000##FFFFFF
##9A29BD1.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)
#005BC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#984B73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a29bd;
/* rgb */ color: rgb(154, 41, 189);
/* oklch */ color: oklch(52.4% 0.223 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc70d2',
    500: '#9a29bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a29bd;
$custom-light: #bc70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a29bd",
  "rgb": {
    "r": 154,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 285.811,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.22327,
    "h": 316.5
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#9A29BD
secondary
#8BCB77
accent
#E74068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9A29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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