#CD52C7#CD52C7

#CD52C7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.0% C 0.206 H 329.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD52C7
RGBrgb(205, 82, 199)
HSLhsl(303, 55%, 56%)
HSVhsv(303, 60%, 80%)
CMYKcmyk(0%, 60%, 2.9%, 19.6%)
CIE-LABlab(55.22, 62.99, -37.89)
CIE-LCHlch(55.22, 73.51, 328.97°)
OKLaboklab(64.05% 0.1777 -0.1042)
OKLCHoklch(64.05% 0.206 329.6)
XYZxyz(38.5026, 23.1399, 56.4602)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C7 #52CD58
analogous
#9652CD #CD52C7 #CD528A
triadic
#CD52C7 #C7CD52 #52C7CD
tetradic
#CD52C7 #CD9652 #52CD58 #528ACD
square
#CD52C7 #CD9652 #52CD58 #528ACD
split-complementary
#CD52C7 #8ACD52 #52CD96
monochromatic
#80257B #AF33A9 #CD52C7 #DB81D6 #E8B1E6

Accessibility & contrast

On white

3.73
#CD52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C7#FFFFFF#000000##000000
##CD52C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#D45F85
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c7;
/* rgb */ color: rgb(205, 82, 199);
/* oklch */ color: oklch(64.0% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#df8ad8',
    500: '#cd52c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c7;
$custom-light: #df8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c7",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 302.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.20598,
    "h": 329.6
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#CD52C7
secondary
#A4D7A7
accent
#DE5149
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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