#9834C6#9834C6

#9834C6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.219 H 312.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9834C6
RGBrgb(152, 52, 198)
HSLhsl(281, 58%, 49%)
HSVhsv(281, 74%, 78%)
CMYKcmyk(23.2%, 73.7%, 0%, 22.4%)
CIE-LABlab(43.08, 63.00, -57.12)
CIE-LCHlch(43.08, 85.03, 317.80°)
OKLaboklab(53.74% 0.1485 -0.1614)
OKLCHoklch(53.74% 0.219 312.6)
XYZxyz(24.3681, 13.2093, 54.6811)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C6 #62C634
analogous
#4F34C6 #9834C6 #C634AB
triadic
#9834C6 #C69834 #34C698
tetradic
#9834C6 #C64F34 #62C634 #34ABC6
square
#9834C6 #C64F34 #62C634 #34ABC6
split-complementary
#9834C6 #ABC634 #34C64F
monochromatic
#4E1B65 #732796 #9834C6 #B162D6 #C992E2

Accessibility & contrast

On white

5.77
#9834C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9834C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9834C6#FFFFFF#000000##FFFFFF
##9834C61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#2268C3
Tritanopia (blue-blind)
#93557B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834c6;
/* rgb */ color: rgb(152, 52, 198);
/* oklch */ color: oklch(53.7% 0.219 312.6);
Tailwind
colors: {
  custom: {
    50: '#bb75d8',
    500: '#9834c6',
    950: '#000000',
  },
}
SCSS
$custom: #9834c6;
$custom-light: #bb75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c6",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 281.096,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.21935,
    "h": 312.6
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#9834C6
secondary
#9ECD89
accent
#E24677
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9834C6

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

Preview Lab → · Contrast checker → · Palette generator →

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