#C836B2#C836B2

#C836B2 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.222 H 334.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C836B2
RGBrgb(200, 54, 178)
HSLhsl(309, 57%, 50%)
HSVhsv(309, 73%, 78%)
CMYKcmyk(0%, 73%, 11%, 21.6%)
CIE-LABlab(49.66, 69.03, -34.51)
CIE-LCHlch(49.66, 77.17, 333.44°)
OKLaboklab(59.54% 0.2012 -0.0943)
OKLCHoklch(59.54% 0.222 334.9)
XYZxyz(33.1749, 18.1350, 43.8640)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C836B2 #36C84C
analogous
#9536C8 #C836B2 #C83669
triadic
#C836B2 #B2C836 #36B2C8
tetradic
#C836B2 #C89536 #36C84C #3669C8
square
#C836B2 #C89536 #36C84C #3669C8
split-complementary
#C836B2 #69C836 #36C895
monochromatic
#681C5C #982987 #C836B2 #D666C5 #E396D7

Accessibility & contrast

On white

4.54
#C836B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C836B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C836B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C836B2#FFFFFF#000000##000000
##C836B21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#D24270
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c836b2;
/* rgb */ color: rgb(200, 54, 178);
/* oklch */ color: oklch(59.5% 0.222 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd7bc9',
    500: '#c836b2',
    950: '#000000',
  },
}
SCSS
$custom: #c836b2;
$custom-light: #dd7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c836b2",
  "rgb": {
    "r": 200,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 309.041,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.22224,
    "h": 334.9
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#C836B2
secondary
#8CCE96
accent
#E15E47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C836B2

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

Preview Lab → · Contrast checker → · Palette generator →

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