#C839C2#C839C2

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

Color values

HEX#C839C2
RGBrgb(200, 57, 194)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 71.5%, 3%, 21.6%)
CIE-LABlab(50.81, 70.49, -42.01)
CIE-LCHlch(50.81, 82.06, 329.20°)
OKLaboklab(60.63% 0.1992 -0.116)
OKLCHoklch(60.63% 0.231 329.8)
XYZxyz(35.0199, 19.1033, 52.8713)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839C2 #39C83F
analogous
#8639C8 #C839C2 #C8397B
triadic
#C839C2 #C2C839 #39C2C8
tetradic
#C839C2 #C88639 #39C83F #397BC8
square
#C839C2 #C88639 #39C83F #397BC8
split-complementary
#C839C2 #7BC839 #39C886
monochromatic
#691D66 #992B95 #C839C2 #D569D1 #E399E0

Accessibility & contrast

On white

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

On black

4.82
#C839C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C839C2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C839C2#FFFFFF#000000##000000
##C839C21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#CF4C7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c839c2;
/* rgb */ color: rgb(200, 57, 194);
/* oklch */ color: oklch(60.6% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#dd7dd5',
    500: '#c839c2',
    950: '#000000',
  },
}
SCSS
$custom: #c839c2;
$custom-light: #dd7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c839c2",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 302.517,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.23053,
    "h": 329.8
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#C839C2
secondary
#8FCE91
accent
#E04E48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C839C2

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

Preview Lab → · Contrast checker → · Palette generator →

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