#9834B3#9834B3

#9834B3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.4% C 0.202 H 318.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9834B3
RGBrgb(152, 52, 179)
HSLhsl(287, 55%, 45%)
HSVhsv(287, 71%, 70%)
CMYKcmyk(15.1%, 70.9%, 0%, 29.8%)
CIE-LABlab(41.82, 59.20, -48.00)
CIE-LCHlch(41.82, 76.21, 320.96°)
OKLaboklab(52.45% 0.1506 -0.1347)
OKLCHoklch(52.45% 0.202 318.2)
XYZxyz(22.3124, 12.3871, 43.8547)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834B3 #4FB334
analogous
#5834B3 #9834B3 #B3348E
triadic
#9834B3 #B39834 #34B398
tetradic
#9834B3 #B35834 #4FB334 #348EB3
square
#9834B3 #B35834 #4FB334 #348EB3
split-complementary
#9834B3 #8EB334 #34B358
monochromatic
#471854 #702684 #9834B3 #B556CE #C986DC

Accessibility & contrast

On white

6.04
#9834B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9834B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9834B3#FFFFFF#000000##FFFFFF
##9834B31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#974D70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9834b3;
/* rgb */ color: rgb(152, 52, 179);
/* oklch */ color: oklch(52.4% 0.202 318.2);
Tailwind
colors: {
  custom: {
    50: '#ba75ca',
    500: '#9834b3',
    950: '#000000',
  },
}
SCSS
$custom: #9834b3;
$custom-light: #ba75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9834b3",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 287.244,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.20209,
    "h": 318.2
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#9834B3
secondary
#8DC57D
accent
#DE4969
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834B3

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

Preview Lab → · Contrast checker → · Palette generator →

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