#C837C5#C837C5

#C837C5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.235 H 328.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C837C5
RGBrgb(200, 55, 197)
HSLhsl(301, 57%, 50%)
HSVhsv(301, 73%, 78%)
CMYKcmyk(0%, 72.5%, 1.5%, 21.6%)
CIE-LABlab(50.74, 71.60, -43.85)
CIE-LCHlch(50.74, 83.97, 328.51°)
OKLaboklab(60.63% 0.2011 -0.1213)
OKLCHoklch(60.63% 0.235 328.9)
XYZxyz(35.2633, 19.0456, 54.6314)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837C5 #37C83A
analogous
#8237C8 #C837C5 #C8377D
triadic
#C837C5 #C5C837 #37C5C8
tetradic
#C837C5 #C88237 #37C83A #377DC8
square
#C837C5 #C88237 #37C83A #377DC8
split-complementary
#C837C5 #7DC837 #37C882
monochromatic
#681D66 #982A96 #C837C5 #D567D3 #E297E1

Accessibility & contrast

On white

4.37
#C837C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C837C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837C5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837C5#FFFFFF#000000##000000
##C837C51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6DC9
Deuteranopia (green-blind)
#607FC1
Tritanopia (blue-blind)
#CF4C7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c837c5;
/* rgb */ color: rgb(200, 55, 197);
/* oklch */ color: oklch(60.6% 0.235 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cd7',
    500: '#c837c5',
    950: '#000000',
  },
}
SCSS
$custom: #c837c5;
$custom-light: #dd7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c837c5",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 301.241,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.23488,
    "h": 328.9
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#C837C5
secondary
#8DCE8E
accent
#E04B48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C837C5

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

Preview Lab → · Contrast checker → · Palette generator →

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