#CD52C5#CD52C5

#CD52C5 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 63.9% C 0.204 H 330.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CD52C5
RGBrgb(205, 82, 197)
HSLhsl(304, 55%, 56%)
HSVhsv(304, 60%, 80%)
CMYKcmyk(0%, 60%, 3.9%, 19.6%)
CIE-LABlab(55.12, 62.66, -36.89)
CIE-LCHlch(55.12, 72.72, 329.51°)
OKLaboklab(63.95% 0.1775 -0.1013)
OKLCHoklch(63.95% 0.204 330.3)
XYZxyz(38.2719, 23.0476, 55.2453)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C5 #52CD5A
analogous
#9852CD #CD52C5 #CD5288
triadic
#CD52C5 #C5CD52 #52C5CD
tetradic
#CD52C5 #CD9852 #52CD5A #5288CD
square
#CD52C5 #CD9852 #52CD5A #5288CD
split-complementary
#CD52C5 #88CD52 #52CD98
monochromatic
#80257A #AF33A7 #CD52C5 #DB81D5 #E8B1E5

Accessibility & contrast

On white

3.74
#CD52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CD52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C5#FFFFFF#000000##000000
##CD52C51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#728AC2
Tritanopia (blue-blind)
#D45E84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c5;
/* rgb */ color: rgb(205, 82, 197);
/* oklch */ color: oklch(63.9% 0.204 330.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad7',
    500: '#cd52c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c5;
$custom-light: #df8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c5",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 303.902,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.20436,
    "h": 330.3
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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