#CD52C6#CD52C6

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

Color values

HEX#CD52C6
RGBrgb(205, 82, 198)
HSLhsl(303, 55%, 56%)
HSVhsv(303, 60%, 80%)
CMYKcmyk(0%, 60%, 3.4%, 19.6%)
CIE-LABlab(55.17, 62.83, -37.39)
CIE-LCHlch(55.17, 73.11, 329.24°)
OKLaboklab(64% 0.1776 -0.1027)
OKLCHoklch(64% 0.205 330)
XYZxyz(38.3869, 23.0936, 55.8508)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C6 #52CD59
analogous
#9752CD #CD52C6 #CD5289
triadic
#CD52C6 #C6CD52 #52C6CD
tetradic
#CD52C6 #CD9752 #52CD59 #5289CD
square
#CD52C6 #CD9752 #52CD59 #5289CD
split-complementary
#CD52C6 #89CD52 #52CD97
monochromatic
#80257B #AF33A8 #CD52C6 #DB81D6 #E8B1E5

Accessibility & contrast

On white

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

On black

5.62
#CD52C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C6#FFFFFF#000000##000000
##CD52C61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979CA
Deuteranopia (green-blind)
#728AC3
Tritanopia (blue-blind)
#D45F85
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c6;
/* rgb */ color: rgb(205, 82, 198);
/* oklch */ color: oklch(64.0% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#df8ad7',
    500: '#cd52c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c6;
$custom-light: #df8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c6",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 303.415,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64,
    "c": 0.20518,
    "h": 330
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52C6

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

Preview Lab → · Contrast checker → · Palette generator →

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