#C837B0#C837B0

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

Color values

HEX#C837B0
RGBrgb(200, 55, 176)
HSLhsl(310, 57%, 50%)
HSVhsv(310, 73%, 78%)
CMYKcmyk(0%, 72.5%, 12%, 21.6%)
CIE-LABlab(49.68, 68.41, -33.31)
CIE-LCHlch(49.68, 76.09, 334.04°)
OKLaboklab(59.52% 0.2001 -0.0909)
OKLCHoklch(59.52% 0.22 335.6)
XYZxyz(33.0225, 18.1493, 42.8299)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B0 #37C84F
analogous
#9837C8 #C837B0 #C83767
triadic
#C837B0 #B0C837 #37B0C8
tetradic
#C837B0 #C89837 #37C84F #3767C8
square
#C837B0 #C89837 #37C84F #3767C8
split-complementary
#C837B0 #67C837 #37C898
monochromatic
#681D5C #982A86 #C837B0 #D567C3 #E297D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C837B0#FFFFFF#000000##000000
##C837B01.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)
#3868B3
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#D24270
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c837b0;
/* rgb */ color: rgb(200, 55, 176);
/* oklch */ color: oklch(59.5% 0.220 335.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cc8',
    500: '#c837b0',
    950: '#000000',
  },
}
SCSS
$custom: #c837b0;
$custom-light: #dd7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b0",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 309.931,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.21977,
    "h": 335.6
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#C837B0
secondary
#8DCE98
accent
#E06148
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C837B0

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

Preview Lab → · Contrast checker → · Palette generator →

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