#C728B4#C728B4

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

Color values

HEX#C728B4
RGBrgb(199, 40, 180)
HSLhsl(307, 67%, 47%)
HSVhsv(307, 80%, 78%)
CMYKcmyk(0%, 79.9%, 9.5%, 22%)
CIE-LABlab(48.21, 73.06, -37.98)
CIE-LCHlch(48.21, 82.34, 332.54°)
OKLaboklab(58.5% 0.2121 -0.1042)
OKLCHoklch(58.5% 0.236 333.8)
XYZxyz(32.5505, 16.9579, 44.7300)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C728B4 #28C73B
analogous
#8B28C7 #C728B4 #C72865
triadic
#C728B4 #B4C728 #28B4C7
tetradic
#C728B4 #C78B28 #28C73B #2865C7
square
#C728B4 #C78B28 #28C73B #2865C7
split-complementary
#C728B4 #65C728 #28C78B
monochromatic
#611458 #941E86 #C728B4 #DC50CB #E683DA

Accessibility & contrast

On white

4.78
#C728B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C728B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C728B4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C728B4#FFFFFF#000000##FFFFFF
##C728B41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B8
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#D03A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c728b4;
/* rgb */ color: rgb(199, 40, 180);
/* oklch */ color: oklch(58.5% 0.236 333.8);
Tailwind
colors: {
  custom: {
    50: '#dc76cb',
    500: '#c728b4',
    950: '#000000',
  },
}
SCSS
$custom: #c728b4;
$custom-light: #dc76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c728b4",
  "rgb": {
    "r": 199,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 307.17,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.585,
    "c": 0.2363,
    "h": 333.8
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#C728B4
secondary
#7CCF86
accent
#E9533E
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C728B4

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

Preview Lab → · Contrast checker → · Palette generator →

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