#C837B4#C837B4

#C837B4 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.223 H 334.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C837B4
RGBrgb(200, 55, 180)
HSLhsl(308, 57%, 50%)
HSVhsv(308, 73%, 78%)
CMYKcmyk(0%, 72.5%, 10%, 21.6%)
CIE-LABlab(49.87, 69.00, -35.35)
CIE-LCHlch(49.87, 77.53, 332.88°)
OKLaboklab(59.72% 0.2004 -0.0967)
OKLCHoklch(59.72% 0.223 334.2)
XYZxyz(33.4241, 18.3099, 44.9450)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B4 #37C84B
analogous
#9437C8 #C837B4 #C8376B
triadic
#C837B4 #B4C837 #37B4C8
tetradic
#C837B4 #C89437 #37C84B #376BC8
square
#C837B4 #C89437 #37C84B #376BC8
split-complementary
#C837B4 #6BC837 #37C894
monochromatic
#681D5E #982A89 #C837B4 #D567C6 #E297D8

Accessibility & contrast

On white

4.51
#C837B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C837B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837B4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837B4#FFFFFF#000000##000000
##C837B41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#D14472
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c837b4;
/* rgb */ color: rgb(200, 55, 180);
/* oklch */ color: oklch(59.7% 0.223 334.2);
Tailwind
colors: {
  custom: {
    50: '#dd7ccb',
    500: '#c837b4',
    950: '#000000',
  },
}
SCSS
$custom: #c837b4;
$custom-light: #dd7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b4",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 308.276,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.22256,
    "h": 334.2
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#C837B4
secondary
#8DCE96
accent
#E05D48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C837B4

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

Preview Lab → · Contrast checker → · Palette generator →

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