#9829AC#9829AC

#9829AC is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.208 H 321.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9829AC
RGBrgb(152, 41, 172)
HSLhsl(291, 62%, 42%)
HSVhsv(291, 76%, 67%)
CMYKcmyk(11.6%, 76.2%, 0%, 32.5%)
CIE-LABlab(39.98, 61.86, -46.81)
CIE-LCHlch(39.98, 77.57, 322.89°)
OKLaboklab(50.99% 0.1618 -0.1311)
OKLCHoklch(50.99% 0.208 321)
XYZxyz(21.1874, 11.2410, 40.0755)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829AC #3DAC29
analogous
#5729AC #9829AC #AC297F
triadic
#9829AC #AC9829 #29AC98
tetradic
#9829AC #AC5729 #3DAC29 #297FAC
square
#9829AC #AC5729 #3DAC29 #297FAC
split-complementary
#9829AC #7FAC29 #29AC57
monochromatic
#411149 #6C1D7B #9829AC #BB41D2 #CD72DD

Accessibility & contrast

On white

6.47
#9829AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9829AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829AC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829AC#FFFFFF#000000##FFFFFF
##9829AC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#994369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9829ac;
/* rgb */ color: rgb(152, 41, 172);
/* oklch */ color: oklch(51.0% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#ba6fc5',
    500: '#9829ac',
    950: '#000000',
  },
}
SCSS
$custom: #9829ac;
$custom-light: #ba6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9829ac",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 290.84,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.20823,
    "h": 321
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#9829AC
secondary
#7AC56C
accent
#E5435C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9829AC

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

Preview Lab → · Contrast checker → · Palette generator →

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