#9832A4#9832A4

#9832A4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.191 H 323.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9832A4
RGBrgb(152, 50, 164)
HSLhsl(294, 53%, 42%)
HSVhsv(294, 70%, 64%)
CMYKcmyk(7.3%, 69.5%, 0%, 35.7%)
CIE-LABlab(40.64, 57.14, -40.99)
CIE-LCHlch(40.64, 70.32, 324.35°)
OKLaboklab(51.3% 0.1534 -0.1142)
OKLCHoklch(51.3% 0.191 323.3)
XYZxyz(20.7897, 11.6381, 36.2661)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832A4 #3EA432
analogous
#5F32A4 #9832A4 #A43277
triadic
#9832A4 #A49832 #32A498
tetradic
#9832A4 #A45F32 #3EA432 #3277A4
square
#9832A4 #A45F32 #3EA432 #3277A4
split-complementary
#9832A4 #77A432 #32A45F
monochromatic
#411546 #6D2475 #9832A4 #BB4BC8 #CD7AD6

Accessibility & contrast

On white

6.31
#9832A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9832A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832A4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832A4#FFFFFF#000000##FFFFFF
##9832A41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9A4567
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9832a4;
/* rgb */ color: rgb(152, 50, 164);
/* oklch */ color: oklch(51.3% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#ba73bf',
    500: '#9832a4',
    950: '#000000',
  },
}
SCSS
$custom: #9832a4;
$custom-light: #ba73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9832a4",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 293.684,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.19127,
    "h": 323.3
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#9832A4
secondary
#7BBF73
accent
#DD4B5A
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9832A4

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

Preview Lab → · Contrast checker → · Palette generator →

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