#9837C1#9837C1

#9837C1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.211 H 313.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9837C1
RGBrgb(152, 55, 193)
HSLhsl(282, 56%, 49%)
HSVhsv(282, 72%, 76%)
CMYKcmyk(21.2%, 71.5%, 0%, 24.3%)
CIE-LABlab(43.15, 60.80, -54.09)
CIE-LCHlch(43.15, 81.38, 318.35°)
OKLaboklab(53.68% 0.1463 -0.1526)
OKLCHoklch(53.68% 0.211 313.8)
XYZxyz(23.9391, 13.2588, 51.7399)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9837C1 #60C137
analogous
#5337C1 #9837C1 #C137A5
triadic
#9837C1 #C19837 #37C198
tetradic
#9837C1 #C15337 #60C137 #37A5C1
square
#9837C1 #C15337 #60C137 #37A5C1
split-complementary
#9837C1 #A5C137 #37C153
monochromatic
#4D1C62 #722991 #9837C1 #B163D2 #C992E0

Accessibility & contrast

On white

5.75
#9837C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9837C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9837C1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9837C1#FFFFFF#000000##FFFFFF
##9837C11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#2D68BE
Tritanopia (blue-blind)
#945479
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9837c1;
/* rgb */ color: rgb(152, 55, 193);
/* oklch */ color: oklch(53.7% 0.211 313.8);
Tailwind
colors: {
  custom: {
    50: '#ba77d4',
    500: '#9837c1',
    950: '#000000',
  },
}
SCSS
$custom: #9837c1;
$custom-light: #ba77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9837c1",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 282.174,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.21136,
    "h": 313.8
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#9837C1
secondary
#9CCB89
accent
#DF4975
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9837C1

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

Preview Lab → · Contrast checker → · Palette generator →

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