#9A29BC#9A29BC

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

Color values

HEX#9A29BC
RGBrgb(154, 41, 188)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 74%)
CMYKcmyk(18.1%, 78.2%, 0%, 26.3%)
CIE-LABlab(41.36, 65.24, -54.04)
CIE-LCHlch(41.36, 84.71, 320.36°)
OKLaboklab(52.36% 0.1621 -0.1523)
OKLCHoklch(52.36% 0.222 316.8)
XYZxyz(23.1951, 12.0877, 48.6786)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A29BC #4BBC29
analogous
#5029BC #9A29BC #BC2995
triadic
#9A29BC #BC9A29 #29BC9A
tetradic
#9A29BC #BC5029 #4BBC29 #2995BC
square
#9A29BC #BC5029 #4BBC29 #2995BC
split-complementary
#9A29BC #95BC29 #29BC50
monochromatic
#481358 #711E8A #9A29BC #B74BD8 #CB7DE3

Accessibility & contrast

On white

6.15
#9A29BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A29BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A29BC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A29BC#FFFFFF#000000##FFFFFF
##9A29BC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#984B72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a29bc;
/* rgb */ color: rgb(154, 41, 188);
/* oklch */ color: oklch(52.4% 0.222 316.8);
Tailwind
colors: {
  custom: {
    50: '#bc70d1',
    500: '#9a29bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a29bc;
$custom-light: #bc70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a29bc",
  "rgb": {
    "r": 154,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 286.122,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.22243,
    "h": 316.8
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#9A29BC
secondary
#8ACB76
accent
#E74167
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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