#CD52C1#CD52C1

#CD52C1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.201 H 331.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CD52C1
RGBrgb(205, 82, 193)
HSLhsl(306, 55%, 56%)
HSVhsv(306, 60%, 80%)
CMYKcmyk(0%, 60%, 5.9%, 19.6%)
CIE-LABlab(54.93, 62.01, -34.89)
CIE-LCHlch(54.93, 71.15, 330.63°)
OKLaboklab(63.75% 0.177 -0.0955)
OKLCHoklch(63.75% 0.201 331.6)
XYZxyz(37.8197, 22.8667, 52.8635)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C1 #52CD5E
analogous
#9C52CD #CD52C1 #CD5284
triadic
#CD52C1 #C1CD52 #52C1CD
tetradic
#CD52C1 #CD9C52 #52CD5E #5284CD
square
#CD52C1 #CD9C52 #52CD5E #5284CD
split-complementary
#CD52C1 #84CD52 #52CD9C
monochromatic
#802577 #AF33A3 #CD52C1 #DB81D2 #E8B1E3

Accessibility & contrast

On white

3.77
#CD52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C1#FFFFFF#000000##000000
##CD52C11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#D55D82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52c1;
/* rgb */ color: rgb(205, 82, 193);
/* oklch */ color: oklch(63.8% 0.201 331.6);
Tailwind
colors: {
  custom: {
    50: '#df8ad4',
    500: '#cd52c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c1;
$custom-light: #df8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c1",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 305.854,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63753,
    "c": 0.20117,
    "h": 331.6
  },
  "luminance": 0.22864
}

Semantic roles & 50–950 ramp

primary
#CD52C1
secondary
#A4D7A9
accent
#DE5849
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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