#C729B4#C729B4

#C729B4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.235 H 333.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C729B4
RGBrgb(199, 41, 180)
HSLhsl(307, 66%, 47%)
HSVhsv(307, 79%, 78%)
CMYKcmyk(0%, 79.4%, 9.5%, 22%)
CIE-LABlab(48.29, 72.82, -37.84)
CIE-LCHlch(48.29, 82.06, 332.54°)
OKLaboklab(58.56% 0.2113 -0.1038)
OKLCHoklch(58.56% 0.235 333.8)
XYZxyz(32.5847, 17.0262, 44.7414)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C729B4 #29C73C
analogous
#8B29C7 #C729B4 #C72965
triadic
#C729B4 #B4C729 #29B4C7
tetradic
#C729B4 #C78B29 #29C73C #2965C7
square
#C729B4 #C78B29 #29C73C #2965C7
split-complementary
#C729B4 #65C729 #29C78B
monochromatic
#621458 #941F86 #C729B4 #DB52CB #E685DA

Accessibility & contrast

On white

4.77
#C729B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C729B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C729B4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C729B4#FFFFFF#000000##FFFFFF
##C729B41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B8
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#D03B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c729b4;
/* rgb */ color: rgb(199, 41, 180);
/* oklch */ color: oklch(58.6% 0.235 333.8);
Tailwind
colors: {
  custom: {
    50: '#dc76cb',
    500: '#c729b4',
    950: '#000000',
  },
}
SCSS
$custom: #c729b4;
$custom-light: #dc76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c729b4",
  "rgb": {
    "r": 199,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 307.215,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.23547,
    "h": 333.8
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#C729B4
secondary
#7DCF87
accent
#E9533F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C729B4

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

Preview Lab → · Contrast checker → · Palette generator →

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