#9834AA#9834AA

#9834AA is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.194 H 321.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9834AA
RGBrgb(152, 52, 170)
HSLhsl(291, 53%, 44%)
HSVhsv(291, 69%, 67%)
CMYKcmyk(10.6%, 69.4%, 0%, 33.3%)
CIE-LABlab(41.27, 57.47, -43.55)
CIE-LCHlch(41.27, 72.11, 322.84°)
OKLaboklab(51.87% 0.1511 -0.1217)
OKLCHoklch(51.87% 0.194 321.2)
XYZxyz(21.4318, 12.0348, 39.2165)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834AA #46AA34
analogous
#5D34AA #9834AA #AA3481
triadic
#9834AA #AA9834 #34AA98
tetradic
#9834AA #AA5D34 #46AA34 #3481AA
square
#9834AA #AA5D34 #46AA34 #3481AA
split-complementary
#9834AA #81AA34 #34AA5D
monochromatic
#44174C #6E267B #9834AA #B751CA #CB80D8

Accessibility & contrast

On white

6.16
#9834AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9834AA#FFFFFF#000000##FFFFFF
##9834AA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#99496B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9834aa;
/* rgb */ color: rgb(152, 52, 170);
/* oklch */ color: oklch(51.9% 0.194 321.2);
Tailwind
colors: {
  custom: {
    50: '#ba74c4',
    500: '#9834aa',
    950: '#000000',
  },
}
SCSS
$custom: #9834aa;
$custom-light: #ba74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9834aa",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 290.847,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.19405,
    "h": 321.2
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#9834AA
secondary
#84C178
accent
#DD4B61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834AA

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

Preview Lab → · Contrast checker → · Palette generator →

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