#9834C9#9834C9

#9834C9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.222 H 311.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9834C9
RGBrgb(152, 52, 201)
HSLhsl(280, 59%, 50%)
HSVhsv(280, 74%, 79%)
CMYKcmyk(24.4%, 74.1%, 0%, 21.2%)
CIE-LABlab(43.28, 63.61, -58.52)
CIE-LCHlch(43.28, 86.44, 317.39°)
OKLaboklab(53.95% 0.148 -0.1656)
OKLCHoklch(53.95% 0.222 311.8)
XYZxyz(24.7175, 13.3491, 56.5216)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C9 #65C934
analogous
#4D34C9 #9834C9 #C934B0
triadic
#9834C9 #C99834 #34C998
tetradic
#9834C9 #C94D34 #65C934 #34B0C9
square
#9834C9 #C94D34 #65C934 #34B0C9
split-complementary
#9834C9 #B0C934 #34C94D
monochromatic
#4E1B68 #732798 #9834C9 #B163D7 #C994E3

Accessibility & contrast

On white

5.72
#9834C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9834C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C9#FFFFFF#000000##FFFFFF
##9834C91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#1C68C6
Tritanopia (blue-blind)
#92567C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834c9;
/* rgb */ color: rgb(152, 52, 201);
/* oklch */ color: oklch(53.9% 0.222 311.8);
Tailwind
colors: {
  custom: {
    50: '#bb75da',
    500: '#9834c9',
    950: '#000000',
  },
}
SCSS
$custom: #9834c9;
$custom-light: #bb75da;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c9",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 280.268,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.2221,
    "h": 311.8
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#9834C9
secondary
#A1CE8A
accent
#E24679
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9834C9

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

Preview Lab → · Contrast checker → · Palette generator →

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