#C839C1#C839C1

#C839C1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.230 H 330.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C839C1
RGBrgb(200, 57, 193)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 71.5%, 3.5%, 21.6%)
CIE-LABlab(50.76, 70.33, -41.52)
CIE-LCHlch(50.76, 81.67, 329.45°)
OKLaboklab(60.58% 0.1992 -0.1146)
OKLCHoklch(60.58% 0.23 330.1)
XYZxyz(34.9080, 19.0586, 52.2818)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839C1 #39C840
analogous
#8739C8 #C839C1 #C83979
triadic
#C839C1 #C1C839 #39C1C8
tetradic
#C839C1 #C88739 #39C840 #3979C8
square
#C839C1 #C88739 #39C840 #3979C8
split-complementary
#C839C1 #79C839 #39C887
monochromatic
#691D66 #992B94 #C839C1 #D569D0 #E399DF

Accessibility & contrast

On white

4.36
#C839C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C839C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C839C1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C839C1#FFFFFF#000000##000000
##C839C11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#296CC5
Deuteranopia (green-blind)
#6380BD
Tritanopia (blue-blind)
#CF4C7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c839c1;
/* rgb */ color: rgb(200, 57, 193);
/* oklch */ color: oklch(60.6% 0.230 330.1);
Tailwind
colors: {
  custom: {
    50: '#dd7dd4',
    500: '#c839c1',
    950: '#000000',
  },
}
SCSS
$custom: #c839c1;
$custom-light: #dd7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c839c1",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 302.937,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.22979,
    "h": 330.1
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#C839C1
secondary
#8FCE92
accent
#E04F48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C839C1

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

Preview Lab → · Contrast checker → · Palette generator →

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