#CD52D5#CD52D5

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

Color values

HEX#CD52D5
RGBrgb(205, 82, 213)
HSLhsl(296, 61%, 58%)
HSVhsv(296, 62%, 84%)
CMYKcmyk(3.8%, 61.5%, 0%, 16.5%)
CIE-LABlab(55.91, 65.38, -44.78)
CIE-LCHlch(55.91, 79.25, 325.59°)
OKLaboklab(64.78% 0.1788 -0.1241)
OKLCHoklch(64.78% 0.218 325.2)
XYZxyz(40.2035, 23.8202, 65.4181)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D5 #5AD552
analogous
#8B52D5 #CD52D5 #D5529B
triadic
#CD52D5 #D5CD52 #52D5CD
tetradic
#CD52D5 #D58B52 #5AD552 #529BD5
square
#CD52D5 #D58B52 #5AD552 #529BD5
split-complementary
#CD52D5 #9BD552 #52D58B
monochromatic
#84228B #B32EBC #CD52D5 #DB83E1 #E9B4ED

Accessibility & contrast

On white

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

On black

5.76
#CD52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D5#FFFFFF#000000##000000
##CD52D51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd52d5;
/* rgb */ color: rgb(205, 82, 213);
/* oklch */ color: oklch(64.8% 0.218 325.2);
Tailwind
colors: {
  custom: {
    50: '#df8ae2',
    500: '#cd52d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d5;
$custom-light: #df8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d5",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 296.336,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64777,
    "c": 0.21761,
    "h": 325.2
  },
  "luminance": 0.23818
}

Semantic roles & 50–950 ramp

primary
#CD52D5
secondary
#AADCA7
accent
#E4444E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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