#9837C8#9837C8

#9837C8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.218 H 311.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9837C8
RGBrgb(152, 55, 200)
HSLhsl(280, 57%, 50%)
HSVhsv(280, 73%, 78%)
CMYKcmyk(24%, 72.5%, 0%, 21.6%)
CIE-LABlab(43.62, 62.25, -57.40)
CIE-LCHlch(43.62, 84.67, 317.32°)
OKLaboklab(54.17% 0.1454 -0.1623)
OKLCHoklch(54.17% 0.218 311.9)
XYZxyz(24.7385, 13.5786, 55.9501)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9837C8 #67C837
analogous
#4F37C8 #9837C8 #C837B0
triadic
#9837C8 #C89837 #37C898
tetradic
#9837C8 #C84F37 #67C837 #37B0C8
square
#9837C8 #C84F37 #67C837 #37B0C8
split-complementary
#9837C8 #B0C837 #37C84F
monochromatic
#4F1D68 #742A98 #9837C8 #B167D5 #C997E2

Accessibility & contrast

On white

5.65
#9837C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9837C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9837C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9837C8#FFFFFF#000000##FFFFFF
##9837C81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#92577D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9837c8;
/* rgb */ color: rgb(152, 55, 200);
/* oklch */ color: oklch(54.2% 0.218 311.9);
Tailwind
colors: {
  custom: {
    50: '#bb77d9',
    500: '#9837c8',
    950: '#000000',
  },
}
SCSS
$custom: #9837c8;
$custom-light: #bb77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9837c8",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 280.138,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.21787,
    "h": 311.9
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#9837C8
secondary
#A2CE8D
accent
#E0487A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9837C8

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

Preview Lab → · Contrast checker → · Palette generator →

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