#9829AB#9829AB

#9829AB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 321.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9829AB
RGBrgb(152, 41, 171)
HSLhsl(291, 61%, 42%)
HSVhsv(291, 76%, 67%)
CMYKcmyk(11.1%, 76%, 0%, 32.9%)
CIE-LABlab(39.92, 61.68, -46.31)
CIE-LCHlch(39.92, 77.13, 323.10°)
OKLaboklab(50.93% 0.1619 -0.1297)
OKLCHoklch(50.93% 0.207 321.3)
XYZxyz(21.0917, 11.2027, 39.5716)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829AB #3CAB29
analogous
#5729AB #9829AB #AB297D
triadic
#9829AB #AB9829 #29AB98
tetradic
#9829AB #AB5729 #3CAB29 #297DAB
square
#9829AB #AB5729 #3CAB29 #297DAB
split-complementary
#9829AB #7DAB29 #29AB57
monochromatic
#401148 #6C1D7A #9829AB #BC40D1 #CD71DD

Accessibility & contrast

On white

6.48
#9829AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9829AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829AB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829AB#FFFFFF#000000##FFFFFF
##9829AB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#994369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9829ab;
/* rgb */ color: rgb(152, 41, 171);
/* oklch */ color: oklch(50.9% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc5',
    500: '#9829ab',
    950: '#000000',
  },
}
SCSS
$custom: #9829ab;
$custom-light: #ba6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9829ab",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 291.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.20741,
    "h": 321.3
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#9829AB
secondary
#79C46C
accent
#E4435B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9829AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9829AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva