#CD52D9#CD52D9

#CD52D9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.221 H 324.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CD52D9
RGBrgb(205, 82, 217)
HSLhsl(295, 64%, 59%)
HSVhsv(295, 62%, 85%)
CMYKcmyk(5.5%, 62.2%, 0%, 14.9%)
CIE-LABlab(56.11, 66.09, -46.72)
CIE-LCHlch(56.11, 80.94, 324.74°)
OKLaboklab(64.99% 0.1789 -0.1297)
OKLCHoklch(64.99% 0.221 324.1)
XYZxyz(40.7174, 24.0258, 68.1249)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D9 #5ED952
analogous
#8952D9 #CD52D9 #D952A1
triadic
#CD52D9 #D9CD52 #52D9CD
tetradic
#CD52D9 #D98952 #5ED952 #52A1D9
square
#CD52D9 #D98952 #5ED952 #52A1D9
split-complementary
#CD52D9 #A1D952 #52D989
monochromatic
#872091 #B52BC3 #CD52D9 #DC84E4 #EAB6EF

Accessibility & contrast

On white

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

On black

5.80
#CD52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D9#FFFFFF#000000##000000
##CD52D91.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#688CD5
Tritanopia (blue-blind)
#D1668E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d9;
/* rgb */ color: rgb(205, 82, 217);
/* oklch */ color: oklch(65.0% 0.221 324.1);
Tailwind
colors: {
  custom: {
    50: '#df8ae5',
    500: '#cd52d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d9;
$custom-light: #df8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d9",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 294.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64993,
    "c": 0.22101,
    "h": 324.1
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#CD52D9
secondary
#ADDEA9
accent
#E74150
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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