#C837B6#C837B6

#C837B6 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.224 H 333.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C837B6
RGBrgb(200, 55, 182)
HSLhsl(307, 57%, 50%)
HSVhsv(307, 73%, 78%)
CMYKcmyk(0%, 72.5%, 9%, 21.6%)
CIE-LABlab(49.97, 69.30, -36.36)
CIE-LCHlch(49.97, 78.26, 332.31°)
OKLaboklab(59.83% 0.2006 -0.0997)
OKLCHoklch(59.83% 0.224 333.6)
XYZxyz(33.6293, 18.3920, 46.0257)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B6 #37C849
analogous
#9137C8 #C837B6 #C8376E
triadic
#C837B6 #B6C837 #37B6C8
tetradic
#C837B6 #C89137 #37C849 #376EC8
square
#C837B6 #C89137 #37C849 #376EC8
split-complementary
#C837B6 #6EC837 #37C891
monochromatic
#681D5F #982A8A #C837B6 #D567C8 #E297D9

Accessibility & contrast

On white

4.49
#C837B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C837B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837B6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837B6#FFFFFF#000000##000000
##C837B61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3269B9
Deuteranopia (green-blind)
#687EB3
Tritanopia (blue-blind)
#D14573
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c837b6;
/* rgb */ color: rgb(200, 55, 182);
/* oklch */ color: oklch(59.8% 0.224 333.6);
Tailwind
colors: {
  custom: {
    50: '#dd7ccc',
    500: '#c837b6',
    950: '#000000',
  },
}
SCSS
$custom: #c837b6;
$custom-light: #dd7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b6",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 307.448,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.22397,
    "h": 333.6
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#C837B6
secondary
#8DCE95
accent
#E05B48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #C837B6

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

Preview Lab → · Contrast checker → · Palette generator →

#C837B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva