#C837C1#C837C1

#C837C1 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.232 H 330.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C837C1
RGBrgb(200, 55, 193)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 73%, 78%)
CMYKcmyk(0%, 72.5%, 3.5%, 21.6%)
CIE-LABlab(50.53, 70.98, -41.88)
CIE-LCHlch(50.53, 82.41, 329.46°)
OKLaboklab(60.41% 0.2011 -0.1156)
OKLCHoklch(60.41% 0.232 330.1)
XYZxyz(34.8111, 18.8647, 52.2495)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837C1 #37C83E
analogous
#8737C8 #C837C1 #C83778
triadic
#C837C1 #C1C837 #37C1C8
tetradic
#C837C1 #C88737 #37C83E #3778C8
square
#C837C1 #C88737 #37C83E #3778C8
split-complementary
#C837C1 #78C837 #37C887
monochromatic
#681D64 #982A93 #C837C1 #D567D0 #E297DF

Accessibility & contrast

On white

4.40
#C837C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C837C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837C1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837C1#FFFFFF#000000##000000
##C837C11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#256CC5
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#CF4A79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c837c1;
/* rgb */ color: rgb(200, 55, 193);
/* oklch */ color: oklch(60.4% 0.232 330.1);
Tailwind
colors: {
  custom: {
    50: '#dd7cd4',
    500: '#c837c1',
    950: '#000000',
  },
}
SCSS
$custom: #c837c1;
$custom-light: #dd7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c837c1",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 302.897,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.23191,
    "h": 330.1
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#C837C1
secondary
#8DCE90
accent
#E04F48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C837C1

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

Preview Lab → · Contrast checker → · Palette generator →

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