#C836C2#C836C2

#C836C2 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.4% C 0.234 H 329.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C836C2
RGBrgb(200, 54, 194)
HSLhsl(302, 57%, 50%)
HSVhsv(302, 73%, 78%)
CMYKcmyk(0%, 73%, 3%, 21.6%)
CIE-LABlab(50.47, 71.45, -42.55)
CIE-LCHlch(50.47, 83.16, 329.23°)
OKLaboklab(60.39% 0.202 -0.1175)
OKLCHoklch(60.39% 0.234 329.8)
XYZxyz(34.8760, 18.8154, 52.8233)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C836C2 #36C83C
analogous
#8536C8 #C836C2 #C83679
triadic
#C836C2 #C2C836 #36C2C8
tetradic
#C836C2 #C88536 #36C83C #3679C8
square
#C836C2 #C88536 #36C83C #3679C8
split-complementary
#C836C2 #79C836 #36C885
monochromatic
#681C65 #982993 #C836C2 #D666D1 #E396DF

Accessibility & contrast

On white

4.41
#C836C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C836C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C836C2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C836C2#FFFFFF#000000##000000
##C836C21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c836c2;
/* rgb */ color: rgb(200, 54, 194);
/* oklch */ color: oklch(60.4% 0.234 329.8);
Tailwind
colors: {
  custom: {
    50: '#dd7cd5',
    500: '#c836c2',
    950: '#000000',
  },
}
SCSS
$custom: #c836c2;
$custom-light: #dd7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c836c2",
  "rgb": {
    "r": 200,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 302.466,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.23368,
    "h": 329.8
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#C836C2
secondary
#8CCE8F
accent
#E14D47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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