#9834C5#9834C5

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

Color values

HEX#9834C5
RGBrgb(152, 52, 197)
HSLhsl(281, 58%, 49%)
HSVhsv(281, 74%, 77%)
CMYKcmyk(22.8%, 73.6%, 0%, 22.7%)
CIE-LABlab(43.01, 62.79, -56.65)
CIE-LCHlch(43.01, 84.57, 317.95°)
OKLaboklab(53.67% 0.1486 -0.1601)
OKLCHoklch(53.67% 0.218 312.9)
XYZxyz(24.2531, 13.1633, 54.0757)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C5 #61C534
analogous
#4F34C5 #9834C5 #C534AA
triadic
#9834C5 #C59834 #34C598
tetradic
#9834C5 #C54F34 #61C534 #34AAC5
square
#9834C5 #C54F34 #61C534 #34AAC5
split-complementary
#9834C5 #AAC534 #34C54F
monochromatic
#4D1A64 #732795 #9834C5 #B161D5 #C991E2

Accessibility & contrast

On white

5.78
#9834C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9834C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C5#FFFFFF#000000##FFFFFF
##9834C51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#93557A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834c5;
/* rgb */ color: rgb(152, 52, 197);
/* oklch */ color: oklch(53.7% 0.218 312.9);
Tailwind
colors: {
  custom: {
    50: '#bb75d7',
    500: '#9834c5',
    950: '#000000',
  },
}
SCSS
$custom: #9834c5;
$custom-light: #bb75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c5",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 281.379,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.21844,
    "h": 312.9
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#9834C5
secondary
#9DCD88
accent
#E14676
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9834C5

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

Preview Lab → · Contrast checker → · Palette generator →

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