#C837B7#C837B7

#C837B7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.225 H 333.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C837B7
RGBrgb(200, 55, 183)
HSLhsl(307, 57%, 50%)
HSVhsv(307, 73%, 78%)
CMYKcmyk(0%, 72.5%, 8.5%, 21.6%)
CIE-LABlab(50.02, 69.45, -36.87)
CIE-LCHlch(50.02, 78.62, 332.04°)
OKLaboklab(59.88% 0.2006 -0.1011)
OKLCHoklch(59.88% 0.225 333.3)
XYZxyz(33.7331, 18.4335, 46.5719)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B7 #37C848
analogous
#9037C8 #C837B7 #C8376F
triadic
#C837B7 #B7C837 #37B7C8
tetradic
#C837B7 #C89037 #37C848 #376FC8
square
#C837B7 #C89037 #37C848 #376FC8
split-complementary
#C837B7 #6FC837 #37C890
monochromatic
#681D5F #982A8B #C837B7 #D567C8 #E297DA

Accessibility & contrast

On white

4.48
#C837B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C837B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837B7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837B7#FFFFFF#000000##000000
##C837B71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#687EB4
Tritanopia (blue-blind)
#D14574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c837b7;
/* rgb */ color: rgb(200, 55, 183);
/* oklch */ color: oklch(59.9% 0.225 333.3);
Tailwind
colors: {
  custom: {
    50: '#dd7ccd',
    500: '#c837b7',
    950: '#000000',
  },
}
SCSS
$custom: #c837b7;
$custom-light: #dd7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b7",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 307.034,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.22468,
    "h": 333.3
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#C837B7
secondary
#8DCE95
accent
#E05A48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #C837B7

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

Preview Lab → · Contrast checker → · Palette generator →

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