#C839B7#C839B7

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

Color values

HEX#C839B7
RGBrgb(200, 57, 183)
HSLhsl(307, 57%, 50%)
HSVhsv(307, 72%, 78%)
CMYKcmyk(0%, 71.5%, 8.5%, 21.6%)
CIE-LABlab(50.25, 68.79, -36.50)
CIE-LCHlch(50.25, 77.88, 332.05°)
OKLaboklab(60.05% 0.1987 -0.1001)
OKLCHoklch(60.05% 0.223 333.3)
XYZxyz(33.8300, 18.6273, 46.6043)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839B7 #39C84A
analogous
#9239C8 #C839B7 #C8396F
triadic
#C839B7 #B7C839 #39B7C8
tetradic
#C839B7 #C89239 #39C84A #396FC8
square
#C839B7 #C89239 #39C84A #396FC8
split-complementary
#C839B7 #6FC839 #39C892
monochromatic
#691D60 #992B8C #C839B7 #D569C8 #E399DA

Accessibility & contrast

On white

4.44
#C839B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C839B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C839B7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C839B7#FFFFFF#000000##000000
##C839B71.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#D14774
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c839b7;
/* rgb */ color: rgb(200, 57, 183);
/* oklch */ color: oklch(60.0% 0.223 333.3);
Tailwind
colors: {
  custom: {
    50: '#dd7dcd',
    500: '#c839b7',
    950: '#000000',
  },
}
SCSS
$custom: #c839b7;
$custom-light: #dd7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c839b7",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 307.133,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.2225,
    "h": 333.3
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C839B7

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

Preview Lab → · Contrast checker → · Palette generator →

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