#CD52D7#CD52D7

#CD52D7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.219 H 324.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CD52D7
RGBrgb(205, 82, 215)
HSLhsl(295, 62%, 58%)
HSVhsv(295, 62%, 84%)
CMYKcmyk(4.7%, 61.9%, 0%, 15.7%)
CIE-LABlab(56.01, 65.73, -45.76)
CIE-LCHlch(56.01, 80.09, 325.16°)
OKLaboklab(64.89% 0.1789 -0.1269)
OKLCHoklch(64.89% 0.219 324.6)
XYZxyz(40.4589, 23.9224, 66.7632)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D7 #5CD752
analogous
#8A52D7 #CD52D7 #D7529E
triadic
#CD52D7 #D7CD52 #52D7CD
tetradic
#CD52D7 #D78A52 #5CD752 #529ED7
square
#CD52D7 #D78A52 #5CD752 #529ED7
split-complementary
#CD52D7 #9ED752 #52D78A
monochromatic
#86218E #B42CC0 #CD52D7 #DB84E2 #EAB5EE

Accessibility & contrast

On white

3.63
#CD52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CD52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D7#FFFFFF#000000##000000
##CD52D71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDB
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#D1658D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d7;
/* rgb */ color: rgb(205, 82, 215);
/* oklch */ color: oklch(64.9% 0.219 324.6);
Tailwind
colors: {
  custom: {
    50: '#df8ae4',
    500: '#cd52d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d7;
$custom-light: #df8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d7",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 295.489,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64885,
    "c": 0.2193,
    "h": 324.6
  },
  "luminance": 0.2392
}

Semantic roles & 50–950 ramp

primary
#CD52D7
secondary
#ACDDA8
accent
#E6424F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CD52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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