#CD52C3#CD52C3

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

Color values

HEX#CD52C3
RGBrgb(205, 82, 195)
HSLhsl(305, 55%, 56%)
HSVhsv(305, 60%, 80%)
CMYKcmyk(0%, 60%, 4.9%, 19.6%)
CIE-LABlab(55.03, 62.33, -35.89)
CIE-LCHlch(55.03, 71.93, 330.06°)
OKLaboklab(63.85% 0.1773 -0.0984)
OKLCHoklch(63.85% 0.203 331)
XYZxyz(38.0443, 22.9565, 54.0464)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C3 #52CD5C
analogous
#9A52CD #CD52C3 #CD5286
triadic
#CD52C3 #C3CD52 #52C3CD
tetradic
#CD52C3 #CD9A52 #52CD5C #5286CD
square
#CD52C3 #CD9A52 #52CD5C #5286CD
split-complementary
#CD52C3 #86CD52 #52CD9A
monochromatic
#802578 #AF33A5 #CD52C3 #DB81D3 #E8B1E4

Accessibility & contrast

On white

3.76
#CD52C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CD52C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C3#FFFFFF#000000##000000
##CD52C31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#D55E83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c3;
/* rgb */ color: rgb(205, 82, 195);
/* oklch */ color: oklch(63.9% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#df8ad5',
    500: '#cd52c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c3;
$custom-light: #df8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c3",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 304.878,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.20276,
    "h": 331
  },
  "luminance": 0.22954
}

Semantic roles & 50–950 ramp

primary
#CD52C3
secondary
#A4D7A8
accent
#DE5549
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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