#9829A6#9829A6

#9829A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.203 H 323.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9829A6
RGBrgb(152, 41, 166)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 65%)
CMYKcmyk(8.4%, 75.3%, 0%, 34.9%)
CIE-LABlab(39.61, 60.77, -43.83)
CIE-LCHlch(39.61, 74.93, 324.20°)
OKLaboklab(50.61% 0.1623 -0.1224)
OKLCHoklch(50.61% 0.203 323)
XYZxyz(20.6241, 11.0157, 37.1089)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829A6 #37A629
analogous
#5929A6 #9829A6 #A62975
triadic
#9829A6 #A69829 #29A698
tetradic
#9829A6 #A65929 #37A629 #2975A6
square
#9829A6 #A65929 #37A629 #2975A6
split-complementary
#9829A6 #75A629 #29A659
monochromatic
#3E1144 #6B1D75 #9829A6 #BF3DCF #CF6EDB

Accessibility & contrast

On white

6.56
#9829A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9829A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829A6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829A6#FFFFFF#000000##FFFFFF
##9829A61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#9A4166
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9829a6;
/* rgb */ color: rgb(152, 41, 166);
/* oklch */ color: oklch(50.6% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#ba6fc1',
    500: '#9829a6',
    950: '#000000',
  },
}
SCSS
$custom: #9829a6;
$custom-light: #ba6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9829a6",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 293.28,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.20326,
    "h": 323
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#9829A6
secondary
#73C269
accent
#E44456
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9829A6

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

Preview Lab → · Contrast checker → · Palette generator →

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