#9832A8#9832A8

#9832A8 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.195 H 321.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9832A8
RGBrgb(152, 50, 168)
HSLhsl(292, 54%, 43%)
HSVhsv(292, 70%, 66%)
CMYKcmyk(9.5%, 70.2%, 0%, 34.1%)
CIE-LABlab(40.87, 57.88, -43.00)
CIE-LCHlch(40.87, 72.11, 323.39°)
OKLaboklab(51.55% 0.1533 -0.1201)
OKLCHoklch(51.55% 0.195 321.9)
XYZxyz(21.1566, 11.7849, 38.1985)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832A8 #42A832
analogous
#5D32A8 #9832A8 #A8327D
triadic
#9832A8 #A89832 #32A898
tetradic
#9832A8 #A85D32 #42A832 #327DA8
square
#9832A8 #A85D32 #42A832 #327DA8
split-complementary
#9832A8 #7DA832 #32A85D
monochromatic
#43164A #6D2479 #9832A8 #B94DCA #CC7CD8

Accessibility & contrast

On white

6.26
#9832A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9832A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832A8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832A8#FFFFFF#000000##FFFFFF
##9832A81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0459AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#9A4769
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9832a8;
/* rgb */ color: rgb(152, 50, 168);
/* oklch */ color: oklch(51.5% 0.195 321.9);
Tailwind
colors: {
  custom: {
    50: '#ba73c2',
    500: '#9832a8',
    950: '#000000',
  },
}
SCSS
$custom: #9832a8;
$custom-light: #ba73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9832a8",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 291.864,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.19475,
    "h": 321.9
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#9832A8
secondary
#7FC175
accent
#DD4A5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9832A8

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

Preview Lab → · Contrast checker → · Palette generator →

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