#9837AE#9837AE

#9837AE is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.194 H 319.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9837AE
RGBrgb(152, 55, 174)
HSLhsl(289, 52%, 45%)
HSVhsv(289, 68%, 68%)
CMYKcmyk(12.6%, 68.4%, 0%, 31.8%)
CIE-LABlab(41.95, 57.02, -44.85)
CIE-LCHlch(41.95, 72.54, 321.81°)
OKLaboklab(52.43% 0.1477 -0.1255)
OKLCHoklch(52.43% 0.194 319.6)
XYZxyz(21.9541, 12.4648, 41.2857)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9837AE #4DAE37
analogous
#5D37AE #9837AE #AE3788
triadic
#9837AE #AE9837 #37AE98
tetradic
#9837AE #AE5D37 #4DAE37 #3788AE
square
#9837AE #AE5D37 #4DAE37 #3788AE
split-complementary
#9837AE #88AE37 #37AE5D
monochromatic
#471A51 #6F287F #9837AE #B558CA #CA86D9

Accessibility & contrast

On white

6.01
#9837AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9837AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9837AE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9837AE#FFFFFF#000000##FFFFFF
##9837AE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#984D6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9837ae;
/* rgb */ color: rgb(152, 55, 174);
/* oklch */ color: oklch(52.4% 0.194 319.6);
Tailwind
colors: {
  custom: {
    50: '#ba76c7',
    500: '#9837ae',
    950: '#000000',
  },
}
SCSS
$custom: #9837ae;
$custom-light: #ba76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9837ae",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 288.908,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.19385,
    "h": 319.6
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#9837AE
secondary
#8BC37E
accent
#DB4C67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9837AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9837AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva