#C729B5#C729B5

#C729B5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.236 H 333.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C729B5
RGBrgb(199, 41, 181)
HSLhsl(307, 66%, 47%)
HSVhsv(307, 79%, 78%)
CMYKcmyk(0%, 79.4%, 9%, 22%)
CIE-LABlab(48.34, 72.96, -38.34)
CIE-LCHlch(48.34, 82.42, 332.28°)
OKLaboklab(58.61% 0.2114 -0.1053)
OKLCHoklch(58.61% 0.236 333.5)
XYZxyz(32.6869, 17.0671, 45.2799)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C729B5 #29C73B
analogous
#8A29C7 #C729B5 #C72966
triadic
#C729B5 #B5C729 #29B5C7
tetradic
#C729B5 #C78A29 #29C73B #2966C7
square
#C729B5 #C78A29 #29C73B #2966C7
split-complementary
#C729B5 #66C729 #29C78A
monochromatic
#621459 #941F87 #C729B5 #DB52CC #E685DB

Accessibility & contrast

On white

4.76
#C729B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C729B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C729B5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C729B5#FFFFFF#000000##FFFFFF
##C729B51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B9
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#D03B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c729b5;
/* rgb */ color: rgb(199, 41, 181);
/* oklch */ color: oklch(58.6% 0.236 333.5);
Tailwind
colors: {
  custom: {
    50: '#dc76cb',
    500: '#c729b5',
    950: '#000000',
  },
}
SCSS
$custom: #c729b5;
$custom-light: #dc76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c729b5",
  "rgb": {
    "r": 199,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 306.835,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.23615,
    "h": 333.5
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#C729B5
secondary
#7DCF86
accent
#E9523F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C729B5

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

Preview Lab → · Contrast checker → · Palette generator →

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