#C839B1#C839B1

#C839B1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.218 H 335.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C839B1
RGBrgb(200, 57, 177)
HSLhsl(310, 57%, 50%)
HSVhsv(310, 72%, 78%)
CMYKcmyk(0%, 71.5%, 11.5%, 21.6%)
CIE-LABlab(49.96, 67.90, -33.45)
CIE-LCHlch(49.96, 75.69, 333.77°)
OKLaboklab(59.74% 0.1982 -0.0913)
OKLCHoklch(59.74% 0.218 335.3)
XYZxyz(33.2188, 18.3829, 43.3852)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839B1 #39C850
analogous
#9739C8 #C839B1 #C8396A
triadic
#C839B1 #B1C839 #39B1C8
tetradic
#C839B1 #C89739 #39C850 #396AC8
square
#C839B1 #C89739 #39C850 #396AC8
split-complementary
#C839B1 #6AC839 #39C897
monochromatic
#691D5D #992B87 #C839B1 #D569C4 #E399D7

Accessibility & contrast

On white

4.49
#C839B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C839B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C839B1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C839B1#FFFFFF#000000##000000
##C839B11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3969B4
Deuteranopia (green-blind)
#6B7EAE
Tritanopia (blue-blind)
#D24471
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c839b1;
/* rgb */ color: rgb(200, 57, 177);
/* oklch */ color: oklch(59.7% 0.218 335.3);
Tailwind
colors: {
  custom: {
    50: '#dd7cc8',
    500: '#c839b1',
    950: '#000000',
  },
}
SCSS
$custom: #c839b1;
$custom-light: #dd7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c839b1",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 309.65,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.21826,
    "h": 335.3
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#C839B1
secondary
#8FCE99
accent
#E06048
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C839B1

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

Preview Lab → · Contrast checker → · Palette generator →

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