#C529AF#C529AF

#C529AF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.231 H 334.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C529AF
RGBrgb(197, 41, 175)
HSLhsl(308, 66%, 47%)
HSVhsv(308, 79%, 77%)
CMYKcmyk(0%, 79.2%, 11.2%, 22.7%)
CIE-LABlab(47.69, 71.68, -35.87)
CIE-LCHlch(47.69, 80.16, 333.42°)
OKLaboklab(57.99% 0.2092 -0.0982)
OKLCHoklch(57.99% 0.231 334.9)
XYZxyz(31.5572, 16.5542, 42.0824)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C529AF #29C53F
analogous
#8D29C5 #C529AF #C52961
triadic
#C529AF #AFC529 #29AFC5
tetradic
#C529AF #C58D29 #29C53F #2961C5
square
#C529AF #C58D29 #29C53F #2961C5
split-complementary
#C529AF #61C529 #29C58D
monochromatic
#601455 #921E82 #C529AF #DB51C7 #E583D7

Accessibility & contrast

On white

4.87
#C529AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C529AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C529AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C529AF#FFFFFF#000000##FFFFFF
##C529AF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#CF386B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c529af;
/* rgb */ color: rgb(197, 41, 175);
/* oklch */ color: oklch(58.0% 0.231 334.9);
Tailwind
colors: {
  custom: {
    50: '#db76c7',
    500: '#c529af',
    950: '#000000',
  },
}
SCSS
$custom: #c529af;
$custom-light: #db76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c529af",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 308.462,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.23113,
    "h": 334.9
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#C529AF
secondary
#7CCE87
accent
#E8573F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C529AF

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

Preview Lab → · Contrast checker → · Palette generator →

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