#C837BA#C837BA

#C837BA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.227 H 332.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C837BA
RGBrgb(200, 55, 186)
HSLhsl(306, 57%, 50%)
HSVhsv(306, 73%, 78%)
CMYKcmyk(0%, 72.5%, 7%, 21.6%)
CIE-LABlab(50.17, 69.90, -38.38)
CIE-LCHlch(50.17, 79.74, 331.23°)
OKLaboklab(60.04% 0.2008 -0.1055)
OKLCHoklch(60.04% 0.227 332.3)
XYZxyz(34.0486, 18.5597, 48.2340)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837BA #37C845
analogous
#8D37C8 #C837BA #C83772
triadic
#C837BA #BAC837 #37BAC8
tetradic
#C837BA #C88D37 #37C845 #3772C8
square
#C837BA #C88D37 #37C845 #3772C8
split-complementary
#C837BA #72C837 #37C88D
monochromatic
#681D61 #982A8D #C837BA #D567CB #E297DB

Accessibility & contrast

On white

4.46
#C837BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C837BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837BA#FFFFFF#000000##000000
##C837BA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABE
Deuteranopia (green-blind)
#667FB6
Tritanopia (blue-blind)
#D14775
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c837ba;
/* rgb */ color: rgb(200, 55, 186);
/* oklch */ color: oklch(60.0% 0.227 332.3);
Tailwind
colors: {
  custom: {
    50: '#dd7ccf',
    500: '#c837ba',
    950: '#000000',
  },
}
SCSS
$custom: #c837ba;
$custom-light: #dd7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c837ba",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 305.793,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.22682,
    "h": 332.3
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#C837BA
secondary
#8DCE93
accent
#E05648
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C837BA

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

Preview Lab → · Contrast checker → · Palette generator →

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