#CD52DA#CD52DA

#CD52DA is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.222 H 323.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CD52DA
RGBrgb(205, 82, 218)
HSLhsl(294, 65%, 59%)
HSVhsv(294, 62%, 85%)
CMYKcmyk(6%, 62.4%, 0%, 14.5%)
CIE-LABlab(56.17, 66.26, -47.21)
CIE-LCHlch(56.17, 81.36, 324.53°)
OKLaboklab(65.05% 0.179 -0.1311)
OKLCHoklch(65.05% 0.222 323.8)
XYZxyz(40.8479, 24.0780, 68.8120)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52DA #5FDA52
analogous
#8952DA #CD52DA #DA52A3
triadic
#CD52DA #DACD52 #52DACD
tetradic
#CD52DA #DA8952 #5FDA52 #52A3DA
square
#CD52DA #DA8952 #5FDA52 #52A3DA
split-complementary
#CD52DA #A3DA52 #52DA89
monochromatic
#871F92 #B62AC5 #CD52DA #DC84E5 #EAB7F0

Accessibility & contrast

On white

3.61
#CD52DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CD52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52DA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52DA#FFFFFF#000000##000000
##CD52DA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#688CD6
Tritanopia (blue-blind)
#D1668F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd52da;
/* rgb */ color: rgb(205, 82, 218);
/* oklch */ color: oklch(65.0% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#e08ae6',
    500: '#cd52da',
    950: '#000000',
  },
}
SCSS
$custom: #cd52da;
$custom-light: #e08ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52da",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 294.265,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65048,
    "c": 0.22187,
    "h": 323.8
  },
  "luminance": 0.24076
}

Semantic roles & 50–950 ramp

primary
#CD52DA
secondary
#AEDFA9
accent
#E84050
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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