#C837C2#C837C2

#C837C2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.5% C 0.233 H 329.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C837C2
RGBrgb(200, 55, 194)
HSLhsl(302, 57%, 50%)
HSVhsv(302, 73%, 78%)
CMYKcmyk(0%, 72.5%, 3%, 21.6%)
CIE-LABlab(50.58, 71.13, -42.37)
CIE-LCHlch(50.58, 82.80, 329.22°)
OKLaboklab(60.47% 0.2011 -0.117)
OKLCHoklch(60.47% 0.233 329.8)
XYZxyz(34.9230, 18.9095, 52.8390)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837C2 #37C83D
analogous
#8637C8 #C837C2 #C83779
triadic
#C837C2 #C2C837 #37C2C8
tetradic
#C837C2 #C88637 #37C83D #3779C8
square
#C837C2 #C88637 #37C83D #3779C8
split-complementary
#C837C2 #79C837 #37C886
monochromatic
#681D65 #982A93 #C837C2 #D567D1 #E297DF

Accessibility & contrast

On white

4.39
#C837C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C837C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837C2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837C2#FFFFFF#000000##000000
##C837C21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#CF4B7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c837c2;
/* rgb */ color: rgb(200, 55, 194);
/* oklch */ color: oklch(60.5% 0.233 329.8);
Tailwind
colors: {
  custom: {
    50: '#dd7cd5',
    500: '#c837c2',
    950: '#000000',
  },
}
SCSS
$custom: #c837c2;
$custom-light: #dd7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c837c2",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 302.483,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.23265,
    "h": 329.8
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C837C2

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

Preview Lab → · Contrast checker → · Palette generator →

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