#CD52D8#CD52D8

#CD52D8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.220 H 324.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD52D8
RGBrgb(205, 82, 216)
HSLhsl(295, 63%, 58%)
HSVhsv(295, 62%, 85%)
CMYKcmyk(5.1%, 62%, 0%, 15.3%)
CIE-LABlab(56.06, 65.91, -46.24)
CIE-LCHlch(56.06, 80.51, 324.95°)
OKLaboklab(64.94% 0.1789 -0.1283)
OKLCHoklch(64.94% 0.22 324.3)
XYZxyz(40.5878, 23.9739, 67.4420)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D8 #5DD852
analogous
#8A52D8 #CD52D8 #D852A0
triadic
#CD52D8 #D8CD52 #52D8CD
tetradic
#CD52D8 #D88A52 #5DD852 #52A0D8
square
#CD52D8 #D88A52 #5DD852 #52A0D8
split-complementary
#CD52D8 #A0D852 #52D88A
monochromatic
#86208F #B52CC1 #CD52D8 #DB84E3 #EAB6EF

Accessibility & contrast

On white

3.62
#CD52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D8#FFFFFF#000000##000000
##CD52D81.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#698CD4
Tritanopia (blue-blind)
#D1668E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d8;
/* rgb */ color: rgb(205, 82, 216);
/* oklch */ color: oklch(64.9% 0.220 324.3);
Tailwind
colors: {
  custom: {
    50: '#df8ae4',
    500: '#cd52d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d8;
$custom-light: #df8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d8",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 295.075,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64939,
    "c": 0.22016,
    "h": 324.3
  },
  "luminance": 0.23972
}

Semantic roles & 50–950 ramp

primary
#CD52D8
secondary
#ADDDA8
accent
#E6424F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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