#C837B2#C837B2

#C837B2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.221 H 334.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C837B2
RGBrgb(200, 55, 178)
HSLhsl(309, 57%, 50%)
HSVhsv(309, 73%, 78%)
CMYKcmyk(0%, 72.5%, 11%, 21.6%)
CIE-LABlab(49.77, 68.70, -34.33)
CIE-LCHlch(49.77, 76.80, 333.45°)
OKLaboklab(59.62% 0.2003 -0.0938)
OKLCHoklch(59.62% 0.221 334.9)
XYZxyz(33.2219, 18.2290, 43.8797)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B2 #37C84D
analogous
#9537C8 #C837B2 #C8376A
triadic
#C837B2 #B2C837 #37B2C8
tetradic
#C837B2 #C89537 #37C84D #376AC8
square
#C837B2 #C89537 #37C84D #376AC8
split-complementary
#C837B2 #6AC837 #37C895
monochromatic
#681D5D #982A87 #C837B2 #D567C4 #E297D7

Accessibility & contrast

On white

4.52
#C837B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C837B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837B2#FFFFFF#000000##000000
##C837B21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#D24371
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c837b2;
/* rgb */ color: rgb(200, 55, 178);
/* oklch */ color: oklch(59.6% 0.221 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cc9',
    500: '#c837b2',
    950: '#000000',
  },
}
SCSS
$custom: #c837b2;
$custom-light: #dd7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b2",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 309.103,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.22117,
    "h": 334.9
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#C837B2
secondary
#8DCE97
accent
#E05F48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C837B2

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

Preview Lab → · Contrast checker → · Palette generator →

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