#C839B2#C839B2

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

Color values

HEX#C839B2
RGBrgb(200, 57, 178)
HSLhsl(309, 57%, 50%)
HSVhsv(309, 72%, 78%)
CMYKcmyk(0%, 71.5%, 11%, 21.6%)
CIE-LABlab(50.01, 68.05, -33.96)
CIE-LCHlch(50.01, 76.05, 333.48°)
OKLaboklab(59.79% 0.1983 -0.0928)
OKLCHoklch(59.79% 0.219 334.9)
XYZxyz(33.3188, 18.4229, 43.9120)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839B2 #39C84F
analogous
#9739C8 #C839B2 #C8396A
triadic
#C839B2 #B2C839 #39B2C8
tetradic
#C839B2 #C89739 #39C84F #396AC8
square
#C839B2 #C89739 #39C84F #396AC8
split-complementary
#C839B2 #6AC839 #39C897
monochromatic
#691D5E #992B88 #C839B2 #D569C5 #E399D7

Accessibility & contrast

On white

4.48
#C839B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C839B2#FFFFFF#000000##000000
##C839B21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6B7EAF
Tritanopia (blue-blind)
#D24471
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c839b2;
/* rgb */ color: rgb(200, 57, 178);
/* oklch */ color: oklch(59.8% 0.219 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cc9',
    500: '#c839b2',
    950: '#000000',
  },
}
SCSS
$custom: #c839b2;
$custom-light: #dd7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c839b2",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 309.231,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.21896,
    "h": 334.9
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#C839B2
secondary
#8FCE98
accent
#E05F48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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