#9829A5#9829A5

#9829A5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.202 H 323.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9829A5
RGBrgb(152, 41, 165)
HSLhsl(294, 60%, 40%)
HSVhsv(294, 75%, 65%)
CMYKcmyk(7.9%, 75.2%, 0%, 35.3%)
CIE-LABlab(39.55, 60.59, -43.33)
CIE-LCHlch(39.55, 74.49, 324.43°)
OKLaboklab(50.54% 0.1623 -0.121)
OKLCHoklch(50.54% 0.202 323.3)
XYZxyz(20.5327, 10.9791, 36.6277)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829A5 #36A529
analogous
#5A29A5 #9829A5 #A52974
triadic
#9829A5 #A59829 #29A598
tetradic
#9829A5 #A55A29 #36A529 #2974A5
square
#9829A5 #A55A29 #36A529 #2974A5
split-complementary
#9829A5 #74A529 #29A55A
monochromatic
#3E1143 #6B1D74 #9829A5 #BF3DCF #CF6EDB

Accessibility & contrast

On white

6.57
#9829A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9829A5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829A5#FFFFFF#000000##FFFFFF
##9829A51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#9A4065
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9829a5;
/* rgb */ color: rgb(152, 41, 165);
/* oklch */ color: oklch(50.5% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc0',
    500: '#9829a5',
    950: '#000000',
  },
}
SCSS
$custom: #9829a5;
$custom-light: #ba6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9829a5",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 293.71,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.20243,
    "h": 323.3
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#9829A5
secondary
#72C268
accent
#E34455
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9829A5

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

Preview Lab → · Contrast checker → · Palette generator →

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