#9829A8#9829A8

#9829A8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 322.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9829A8
RGBrgb(152, 41, 168)
HSLhsl(292, 61%, 41%)
HSVhsv(292, 76%, 66%)
CMYKcmyk(9.5%, 75.6%, 0%, 34.1%)
CIE-LABlab(39.73, 61.13, -44.83)
CIE-LCHlch(39.73, 75.81, 323.75°)
OKLaboklab(50.74% 0.1621 -0.1253)
OKLCHoklch(50.74% 0.205 322.3)
XYZxyz(20.8090, 11.0896, 38.0827)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829A8 #39A829
analogous
#5829A8 #9829A8 #A82978
triadic
#9829A8 #A89829 #29A898
tetradic
#9829A8 #A85829 #39A829 #2978A8
square
#9829A8 #A85829 #39A829 #2978A8
split-complementary
#9829A8 #78A829 #29A858
monochromatic
#3F1146 #6B1D77 #9829A8 #BE3ED0 #CE6FDC

Accessibility & contrast

On white

6.53
#9829A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9829A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829A8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829A8#FFFFFF#000000##FFFFFF
##9829A81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#9A4267
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9829a8;
/* rgb */ color: rgb(152, 41, 168);
/* oklch */ color: oklch(50.7% 0.205 322.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc2',
    500: '#9829a8',
    950: '#000000',
  },
}
SCSS
$custom: #9829a8;
$custom-light: #ba6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9829a8",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 292.441,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.20491,
    "h": 322.3
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#9829A8
secondary
#75C36A
accent
#E44458
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9829A8

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

Preview Lab → · Contrast checker → · Palette generator →

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