#CD52D1#CD52D1

#CD52D1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.214 H 326.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CD52D1
RGBrgb(205, 82, 209)
HSLhsl(298, 58%, 57%)
HSVhsv(298, 61%, 82%)
CMYKcmyk(1.9%, 60.8%, 0%, 18%)
CIE-LABlab(55.70, 64.69, -42.83)
CIE-LCHlch(55.70, 77.58, 326.49°)
OKLaboklab(64.57% 0.1785 -0.1184)
OKLCHoklch(64.57% 0.214 326.4)
XYZxyz(39.7020, 23.6196, 62.7771)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D1 #56D152
analogous
#8D52D1 #CD52D1 #D15296
triadic
#CD52D1 #D1CD52 #52D1CD
tetradic
#CD52D1 #D18D52 #56D152 #5296D1
square
#CD52D1 #D18D52 #56D152 #5296D1
split-complementary
#CD52D1 #96D152 #52D18D
monochromatic
#822385 #B130B6 #CD52D1 #DB82DE #E9B3EB

Accessibility & contrast

On white

3.67
#CD52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CD52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D1#FFFFFF#000000##000000
##CD52D11.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#D2638A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd52d1;
/* rgb */ color: rgb(205, 82, 209);
/* oklch */ color: oklch(64.6% 0.214 326.4);
Tailwind
colors: {
  custom: {
    50: '#df8adf',
    500: '#cd52d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d1;
$custom-light: #df8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d1",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 298.11,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64565,
    "c": 0.21423,
    "h": 326.4
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#CD52D1
secondary
#A7D9A6
accent
#E1474B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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