#9834B0#9834B0

#9834B0 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 319.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9834B0
RGBrgb(152, 52, 176)
HSLhsl(288, 54%, 45%)
HSVhsv(288, 70%, 69%)
CMYKcmyk(13.6%, 70.5%, 0%, 31%)
CIE-LABlab(41.64, 58.62, -46.53)
CIE-LCHlch(41.64, 74.84, 321.56°)
OKLaboklab(52.25% 0.1508 -0.1304)
OKLCHoklch(52.25% 0.199 319.2)
XYZxyz(22.0123, 12.2670, 42.2742)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834B0 #4CB034
analogous
#5A34B0 #9834B0 #B0348A
triadic
#9834B0 #B09834 #34B098
tetradic
#9834B0 #B05A34 #4CB034 #348AB0
square
#9834B0 #B05A34 #4CB034 #348AB0
split-complementary
#9834B0 #8AB034 #34B05A
monochromatic
#461852 #6F2681 #9834B0 #B555CD #CA84DB

Accessibility & contrast

On white

6.08
#9834B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9834B0#FFFFFF#000000##FFFFFF
##9834B01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3C66AD
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9834b0;
/* rgb */ color: rgb(152, 52, 176);
/* oklch */ color: oklch(52.3% 0.199 319.2);
Tailwind
colors: {
  custom: {
    50: '#ba74c8',
    500: '#9834b0',
    950: '#000000',
  },
}
SCSS
$custom: #9834b0;
$custom-light: #ba74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9834b0",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 288.387,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.1994,
    "h": 319.2
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#9834B0
secondary
#8AC47C
accent
#DE4A67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834B0

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

Preview Lab → · Contrast checker → · Palette generator →

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