#C728B6#C728B6

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

Color values

HEX#C728B6
RGBrgb(199, 40, 182)
HSLhsl(306, 67%, 47%)
HSVhsv(306, 80%, 78%)
CMYKcmyk(0%, 79.9%, 8.5%, 22%)
CIE-LABlab(48.31, 73.35, -38.98)
CIE-LCHlch(48.31, 83.07, 332.01°)
OKLaboklab(58.61% 0.2121 -0.1071)
OKLCHoklch(58.61% 0.238 333.2)
XYZxyz(32.7557, 17.0400, 45.8108)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C728B6 #28C739
analogous
#8928C7 #C728B6 #C72867
triadic
#C728B6 #B6C728 #28B6C7
tetradic
#C728B6 #C78928 #28C739 #2867C7
square
#C728B6 #C78928 #28C739 #2867C7
split-complementary
#C728B6 #67C728 #28C789
monochromatic
#611459 #941E87 #C728B6 #DC50CD #E683DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C728B6#FFFFFF#000000##FFFFFF
##C728B61.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)
#1F64BA
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#D03B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c728b6;
/* rgb */ color: rgb(199, 40, 182);
/* oklch */ color: oklch(58.6% 0.238 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc76cc',
    500: '#c728b6',
    950: '#000000',
  },
}
SCSS
$custom: #c728b6;
$custom-light: #dc76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c728b6",
  "rgb": {
    "r": 199,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 306.415,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.23765,
    "h": 333.2
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#C728B6
secondary
#7CCF85
accent
#E9513E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C728B6

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

Preview Lab → · Contrast checker → · Palette generator →

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