#9832B3#9832B3

#9832B3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.204 H 318.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9832B3
RGBrgb(152, 50, 179)
HSLhsl(287, 56%, 45%)
HSVhsv(287, 72%, 70%)
CMYKcmyk(15.1%, 72.1%, 0%, 29.8%)
CIE-LABlab(41.55, 59.97, -48.44)
CIE-LCHlch(41.55, 77.09, 321.07°)
OKLaboklab(52.25% 0.1527 -0.136)
OKLCHoklch(52.25% 0.204 318.3)
XYZxyz(22.2251, 12.2123, 43.8256)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B3 #4DB332
analogous
#5832B3 #9832B3 #B3328D
triadic
#9832B3 #B39832 #32B398
tetradic
#9832B3 #B35832 #4DB332 #328DB3
square
#9832B3 #B35832 #4DB332 #328DB3
split-complementary
#9832B3 #8DB332 #32B358
monochromatic
#471753 #6F2583 #9832B3 #B553CF #CA83DC

Accessibility & contrast

On white

6.10
#9832B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9832B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832B3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832B3#FFFFFF#000000##FFFFFF
##9832B31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#974C70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9832b3;
/* rgb */ color: rgb(152, 50, 179);
/* oklch */ color: oklch(52.3% 0.204 318.3);
Tailwind
colors: {
  custom: {
    50: '#ba74ca',
    500: '#9832b3',
    950: '#000000',
  },
}
SCSS
$custom: #9832b3;
$custom-light: #ba74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b3",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 287.442,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.20444,
    "h": 318.3
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#9832B3
secondary
#8BC67B
accent
#E04868
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9832B3

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

Preview Lab → · Contrast checker → · Palette generator →

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