#9834A4#9834A4

#9834A4 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.189 H 323.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9834A4
RGBrgb(152, 52, 164)
HSLhsl(294, 52%, 42%)
HSVhsv(294, 68%, 64%)
CMYKcmyk(7.3%, 68.3%, 0%, 35.7%)
CIE-LABlab(40.92, 56.35, -40.54)
CIE-LCHlch(40.92, 69.42, 324.27°)
OKLaboklab(51.51% 0.1513 -0.1129)
OKLCHoklch(51.51% 0.189 323.3)
XYZxyz(20.8771, 11.8129, 36.2952)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834A4 #40A434
analogous
#6034A4 #9834A4 #A43478
triadic
#9834A4 #A49834 #34A498
tetradic
#9834A4 #A46034 #40A434 #3478A4
square
#9834A4 #A46034 #40A434 #3478A4
split-complementary
#9834A4 #78A434 #34A460
monochromatic
#421747 #6D2576 #9834A4 #BA4EC7 #CC7DD6

Accessibility & contrast

On white

6.25
#9834A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9834A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9834A4#FFFFFF#000000##FFFFFF
##9834A41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#9A4768
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9834a4;
/* rgb */ color: rgb(152, 52, 164);
/* oklch */ color: oklch(51.5% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#ba74bf',
    500: '#9834a4',
    950: '#000000',
  },
}
SCSS
$custom: #9834a4;
$custom-light: #ba74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9834a4",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 293.571,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.18875,
    "h": 323.3
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#9834A4
secondary
#7DBF75
accent
#DB4C5C
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9834A4

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

Preview Lab → · Contrast checker → · Palette generator →

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