#C727AD#C727AD

#C727AD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.232 H 336.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C727AD
RGBrgb(199, 39, 173)
HSLhsl(310, 67%, 47%)
HSVhsv(310, 80%, 78%)
CMYKcmyk(0%, 80.4%, 13.1%, 22%)
CIE-LABlab(47.77, 72.32, -34.54)
CIE-LCHlch(47.77, 80.15, 334.47°)
OKLaboklab(58.07% 0.2125 -0.0943)
OKLCHoklch(58.07% 0.232 336.1)
XYZxyz(31.8221, 16.6133, 41.0578)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C727AD #27C741
analogous
#9127C7 #C727AD #C7275D
triadic
#C727AD #ADC727 #27ADC7
tetradic
#C727AD #C79127 #27C741 #275DC7
square
#C727AD #C79127 #27C741 #275DC7
split-complementary
#C727AD #5DC727 #27C791
monochromatic
#611354 #941D81 #C727AD #DC4FC5 #E682D6

Accessibility & contrast

On white

4.86
#C727AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C727AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C727AD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C727AD#FFFFFF#000000##FFFFFF
##C727AD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62B0
Deuteranopia (green-blind)
#667AA9
Tritanopia (blue-blind)
#D1356A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c727ad;
/* rgb */ color: rgb(199, 39, 173);
/* oklch */ color: oklch(58.1% 0.232 336.1);
Tailwind
colors: {
  custom: {
    50: '#dc75c6',
    500: '#c727ad',
    950: '#000000',
  },
}
SCSS
$custom: #c727ad;
$custom-light: #dc75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c727ad",
  "rgb": {
    "r": 199,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 309.75,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.23249,
    "h": 336.1
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#C727AD
secondary
#7BCF88
accent
#EA5A3E
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C727AD

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

Preview Lab → · Contrast checker → · Palette generator →

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