#C837CC#C837CC

#C837CC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.240 H 326.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C837CC
RGBrgb(200, 55, 204)
HSLhsl(298, 59%, 51%)
HSVhsv(298, 73%, 80%)
CMYKcmyk(2%, 73%, 0%, 20%)
CIE-LABlab(51.12, 72.73, -47.28)
CIE-LCHlch(51.12, 86.75, 326.97°)
OKLaboklab(61.03% 0.2011 -0.1313)
OKLCHoklch(61.03% 0.24 326.9)
XYZxyz(36.0841, 19.3739, 58.9540)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837CC #3BCC37
analogous
#7D37CC #C837CC #CC3785
triadic
#C837CC #CCC837 #37CCC8
tetradic
#C837CC #CC7D37 #3BCC37 #3785CC
square
#C837CC #CC7D37 #3BCC37 #3785CC
split-complementary
#C837CC #85CC37 #37CC7D
monochromatic
#6B1C6D #9A289E #C837CC #D568D8 #E399E5

Accessibility & contrast

On white

4.31
#C837CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C837CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837CC#FFFFFF#000000##000000
##C837CC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6ED0
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#CE507F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c837cc;
/* rgb */ color: rgb(200, 55, 204);
/* oklch */ color: oklch(61.0% 0.240 326.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ddc',
    500: '#c837cc',
    950: '#000000',
  },
}
SCSS
$custom: #c837cc;
$custom-light: #dd7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#c837cc",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 298.389,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.24013,
    "h": 326.9
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#C837CC
secondary
#90D08E
accent
#E34549
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C837CC

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

Preview Lab → · Contrast checker → · Palette generator →

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