#9834AF#9834AF

#9834AF is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.199 H 319.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9834AF
RGBrgb(152, 52, 175)
HSLhsl(289, 54%, 45%)
HSVhsv(289, 70%, 69%)
CMYKcmyk(13.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(41.58, 58.42, -46.04)
CIE-LCHlch(41.58, 74.38, 321.76°)
OKLaboklab(52.19% 0.1509 -0.129)
OKLCHoklch(52.19% 0.199 319.5)
XYZxyz(21.9138, 12.2276, 41.7550)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834AF #4BAF34
analogous
#5A34AF #9834AF #AF3489
triadic
#9834AF #AF9834 #34AF98
tetradic
#9834AF #AF5A34 #4BAF34 #3489AF
square
#9834AF #AF5A34 #4BAF34 #3489AF
split-complementary
#9834AF #89AF34 #34AF5A
monochromatic
#461851 #6F2680 #9834AF #B654CC #CA83DA

Accessibility & contrast

On white

6.10
#9834AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9834AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9834AF#FFFFFF#000000##FFFFFF
##9834AF1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#984B6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9834af;
/* rgb */ color: rgb(152, 52, 175);
/* oklch */ color: oklch(52.2% 0.199 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba74c7',
    500: '#9834af',
    950: '#000000',
  },
}
SCSS
$custom: #9834af;
$custom-light: #ba74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9834af",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 288.78,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.1985,
    "h": 319.5
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#9834AF
secondary
#89C47B
accent
#DE4A66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834AF

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

Preview Lab → · Contrast checker → · Palette generator →

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