#CD52D0#CD52D0

#CD52D0 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.213 H 326.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD52D0
RGBrgb(205, 82, 208)
HSLhsl(299, 57%, 57%)
HSVhsv(299, 61%, 82%)
CMYKcmyk(1.4%, 60.6%, 0%, 18.4%)
CIE-LABlab(55.66, 64.52, -42.34)
CIE-LCHlch(55.66, 77.17, 326.72°)
OKLaboklab(64.51% 0.1785 -0.117)
OKLCHoklch(64.51% 0.213 326.7)
XYZxyz(39.5786, 23.5703, 62.1271)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D0 #55D052
analogous
#8E52D0 #CD52D0 #D05294
triadic
#CD52D0 #D0CD52 #52D0CD
tetradic
#CD52D0 #D08E52 #55D052 #5294D0
square
#CD52D0 #D08E52 #55D052 #5294D0
split-complementary
#CD52D0 #94D052 #52D08E
monochromatic
#822484 #B131B4 #CD52D0 #DB82DD #E9B2EA

Accessibility & contrast

On white

3.68
#CD52D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CD52D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D0#FFFFFF#000000##000000
##CD52D01.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417BD4
Deuteranopia (green-blind)
#6D8BCD
Tritanopia (blue-blind)
#D2638A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd52d0;
/* rgb */ color: rgb(205, 82, 208);
/* oklch */ color: oklch(64.5% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#df8adf',
    500: '#cd52d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d0;
$custom-light: #df8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d0",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 298.571,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.2134,
    "h": 326.7
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#CD52D0
secondary
#A6D9A5
accent
#E1474B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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