#CD52D6#CD52D6

#CD52D6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.218 H 324.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CD52D6
RGBrgb(205, 82, 214)
HSLhsl(296, 62%, 58%)
HSVhsv(296, 62%, 84%)
CMYKcmyk(4.2%, 61.7%, 0%, 16.1%)
CIE-LABlab(55.96, 65.56, -45.27)
CIE-LCHlch(55.96, 79.67, 325.37°)
OKLaboklab(64.83% 0.1788 -0.1255)
OKLCHoklch(64.83% 0.218 324.9)
XYZxyz(40.3308, 23.8711, 66.0886)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D6 #5BD652
analogous
#8B52D6 #CD52D6 #D6529D
triadic
#CD52D6 #D6CD52 #52D6CD
tetradic
#CD52D6 #D68B52 #5BD652 #529DD6
square
#CD52D6 #D68B52 #5BD652 #529DD6
split-complementary
#CD52D6 #9DD652 #52D68B
monochromatic
#85218C #B42DBE #CD52D6 #DB83E2 #EAB5ED

Accessibility & contrast

On white

3.64
#CD52D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CD52D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D6#FFFFFF#000000##000000
##CD52D61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CDA
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#D1658D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d6;
/* rgb */ color: rgb(205, 82, 214);
/* oklch */ color: oklch(64.8% 0.218 324.9);
Tailwind
colors: {
  custom: {
    50: '#df8ae3',
    500: '#cd52d6',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d6;
$custom-light: #df8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d6",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 295.909,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.21846,
    "h": 324.9
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

primary
#CD52D6
secondary
#ABDCA8
accent
#E5434E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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