#9836C7#9836C7

#9836C7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 312.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9836C7
RGBrgb(152, 54, 199)
HSLhsl(281, 57%, 50%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(23.6%, 72.9%, 0%, 22%)
CIE-LABlab(43.42, 62.43, -57.15)
CIE-LCHlch(43.42, 84.64, 317.53°)
OKLaboklab(54% 0.1465 -0.1616)
OKLCHoklch(54% 0.218 312.2)
XYZxyz(24.5750, 13.4379, 55.3210)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C7 #65C736
analogous
#5036C7 #9836C7 #C736AD
triadic
#9836C7 #C79836 #36C798
tetradic
#9836C7 #C75036 #65C736 #36ADC7
square
#9836C7 #C75036 #65C736 #36ADC7
split-complementary
#9836C7 #ADC736 #36C750
monochromatic
#4E1C67 #732997 #9836C7 #B165D5 #C995E2

Accessibility & contrast

On white

5.70
#9836C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9836C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C7#FFFFFF#000000##FFFFFF
##9836C71.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2368C4
Tritanopia (blue-blind)
#92567C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9836c7;
/* rgb */ color: rgb(152, 54, 199);
/* oklch */ color: oklch(54.0% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb76d9',
    500: '#9836c7',
    950: '#000000',
  },
}
SCSS
$custom: #9836c7;
$custom-light: #bb76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c7",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 280.552,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.21806,
    "h": 312.2
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#9836C7
secondary
#A1CE8B
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9836C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9836C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva