#9834AB#9834AB

#9834AB is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.195 H 320.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9834AB
RGBrgb(152, 52, 171)
HSLhsl(290, 53%, 44%)
HSVhsv(290, 70%, 67%)
CMYKcmyk(11.1%, 69.6%, 0%, 32.9%)
CIE-LABlab(41.33, 57.66, -44.05)
CIE-LCHlch(41.33, 72.56, 322.62°)
OKLaboklab(51.94% 0.1511 -0.1232)
OKLCHoklch(51.94% 0.195 320.8)
XYZxyz(21.5267, 12.0728, 39.7166)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834AB #47AB34
analogous
#5C34AB #9834AB #AB3482
triadic
#9834AB #AB9834 #34AB98
tetradic
#9834AB #AB5C34 #47AB34 #3482AB
square
#9834AB #AB5C34 #47AB34 #3482AB
split-complementary
#9834AB #82AB34 #34AB5C
monochromatic
#45174D #6E267C #9834AB #B752CA #CB81D9

Accessibility & contrast

On white

6.15
#9834AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9834AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834AB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834AB#FFFFFF#000000##FFFFFF
##9834AB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAE
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#99496C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9834ab;
/* rgb */ color: rgb(152, 52, 171);
/* oklch */ color: oklch(51.9% 0.195 320.8);
Tailwind
colors: {
  custom: {
    50: '#ba74c4',
    500: '#9834ab',
    950: '#000000',
  },
}
SCSS
$custom: #9834ab;
$custom-light: #ba74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9834ab",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 290.42,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.19493,
    "h": 320.8
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#9834AB
secondary
#85C279
accent
#DD4B62
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9834AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva