#CD52BD#CD52BD

#CD52BD is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.6% C 0.198 H 333.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD52BD
RGBrgb(205, 82, 189)
HSLhsl(308, 55%, 56%)
HSVhsv(308, 60%, 80%)
CMYKcmyk(0%, 60%, 7.8%, 19.6%)
CIE-LABlab(54.75, 61.36, -32.87)
CIE-LCHlch(54.75, 69.61, 331.82°)
OKLaboklab(63.56% 0.1765 -0.0898)
OKLCHoklch(63.56% 0.198 333)
XYZxyz(37.3795, 22.6906, 50.5452)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52BD #52CD62
analogous
#A052CD #CD52BD #CD5280
triadic
#CD52BD #BDCD52 #52BDCD
tetradic
#CD52BD #CDA052 #52CD62 #5280CD
square
#CD52BD #CDA052 #52CD62 #5280CD
split-complementary
#CD52BD #80CD52 #52CDA0
monochromatic
#802574 #AF339F #CD52BD #DB81CF #E8B1E1

Accessibility & contrast

On white

3.79
#CD52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CD52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52BD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52BD#FFFFFF#000000##000000
##CD52BD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#7689BA
Tritanopia (blue-blind)
#D65B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52bd;
/* rgb */ color: rgb(205, 82, 189);
/* oklch */ color: oklch(63.6% 0.198 333.0);
Tailwind
colors: {
  custom: {
    50: '#df8ad1',
    500: '#cd52bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd52bd;
$custom-light: #df8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52bd",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 307.805,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6356,
    "c": 0.19804,
    "h": 333
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#CD52BD
secondary
#A4D7AB
accent
#DE5D49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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