#CD52C4#CD52C4

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

Color values

HEX#CD52C4
RGBrgb(205, 82, 196)
HSLhsl(304, 55%, 56%)
HSVhsv(304, 60%, 80%)
CMYKcmyk(0%, 60%, 4.4%, 19.6%)
CIE-LABlab(55.07, 62.50, -36.39)
CIE-LCHlch(55.07, 72.32, 329.79°)
OKLaboklab(63.9% 0.1774 -0.0999)
OKLCHoklch(63.9% 0.204 330.6)
XYZxyz(38.1577, 23.0019, 54.6439)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C4 #52CD5B
analogous
#9952CD #CD52C4 #CD5287
triadic
#CD52C4 #C4CD52 #52C4CD
tetradic
#CD52C4 #CD9952 #52CD5B #5287CD
square
#CD52C4 #CD9952 #52CD5B #5287CD
split-complementary
#CD52C4 #87CD52 #52CD99
monochromatic
#802579 #AF33A6 #CD52C4 #DB81D4 #E8B1E4

Accessibility & contrast

On white

3.75
#CD52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CD52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C4#FFFFFF#000000##000000
##CD52C41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#D45E84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c4;
/* rgb */ color: rgb(205, 82, 196);
/* oklch */ color: oklch(63.9% 0.204 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8ad6',
    500: '#cd52c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c4;
$custom-light: #df8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c4",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 304.39,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.639,
    "c": 0.20356,
    "h": 330.6
  },
  "luminance": 0.22999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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