#9832A2#9832A2

#9832A2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.190 H 324.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9832A2
RGBrgb(152, 50, 162)
HSLhsl(295, 53%, 42%)
HSVhsv(295, 69%, 64%)
CMYKcmyk(6.2%, 69.1%, 0%, 36.5%)
CIE-LABlab(40.52, 56.78, -39.98)
CIE-LCHlch(40.52, 69.44, 324.85°)
OKLaboklab(51.18% 0.1535 -0.1113)
OKLCHoklch(51.18% 0.19 324.1)
XYZxyz(20.6105, 11.5665, 35.3224)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832A2 #3CA232
analogous
#6032A2 #9832A2 #A23274
triadic
#9832A2 #A29832 #32A298
tetradic
#9832A2 #A26032 #3CA232 #3274A2
square
#9832A2 #A26032 #3CA232 #3274A2
split-complementary
#9832A2 #74A232 #32A260
monochromatic
#401544 #6C2473 #9832A2 #BC4AC7 #CD79D6

Accessibility & contrast

On white

6.34
#9832A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9832A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832A2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832A2#FFFFFF#000000##FFFFFF
##9832A21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9B4466
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9832a2;
/* rgb */ color: rgb(152, 50, 162);
/* oklch */ color: oklch(51.2% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#ba73be',
    500: '#9832a2',
    950: '#000000',
  },
}
SCSS
$custom: #9832a2;
$custom-light: #ba73be;
$custom-dark: #000000;
JSON
{
  "hex": "#9832a2",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 294.643,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.18954,
    "h": 324.1
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#9832A2
secondary
#79BE72
accent
#DC4C58
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9832A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9832A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva