#CD52D2#CD52D2

#CD52D2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.215 H 326.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CD52D2
RGBrgb(205, 82, 210)
HSLhsl(298, 59%, 57%)
HSVhsv(298, 61%, 82%)
CMYKcmyk(2.4%, 61%, 0%, 17.6%)
CIE-LABlab(55.76, 64.86, -43.32)
CIE-LCHlch(55.76, 78.00, 326.26°)
OKLaboklab(64.62% 0.1786 -0.1198)
OKLCHoklch(64.62% 0.215 326.1)
XYZxyz(39.8262, 23.6693, 63.4312)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D2 #57D252
analogous
#8D52D2 #CD52D2 #D25297
triadic
#CD52D2 #D2CD52 #52D2CD
tetradic
#CD52D2 #D28D52 #57D252 #5297D2
square
#CD52D2 #D28D52 #57D252 #5297D2
split-complementary
#CD52D2 #97D252 #52D28D
monochromatic
#832387 #B230B7 #CD52D2 #DB83DF #E9B3EB

Accessibility & contrast

On white

3.66
#CD52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CD52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D2#FFFFFF#000000##000000
##CD52D21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#D2638B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d2;
/* rgb */ color: rgb(205, 82, 210);
/* oklch */ color: oklch(64.6% 0.215 326.1);
Tailwind
colors: {
  custom: {
    50: '#df8ae0',
    500: '#cd52d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d2;
$custom-light: #df8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d2",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 297.656,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.21508,
    "h": 326.1
  },
  "luminance": 0.23667
}

Semantic roles & 50–950 ramp

primary
#CD52D2
secondary
#A8DAA6
accent
#E2464C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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