#CD52BF#CD52BF

#CD52BF is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.7% C 0.200 H 332.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CD52BF
RGBrgb(205, 82, 191)
HSLhsl(307, 55%, 56%)
HSVhsv(307, 60%, 80%)
CMYKcmyk(0%, 60%, 6.8%, 19.6%)
CIE-LABlab(54.84, 61.68, -33.88)
CIE-LCHlch(54.84, 70.37, 331.22°)
OKLaboklab(63.66% 0.1768 -0.0927)
OKLCHoklch(63.66% 0.2 332.3)
XYZxyz(37.5981, 22.7781, 51.6964)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52BF #52CD60
analogous
#9E52CD #CD52BF #CD5282
triadic
#CD52BF #BFCD52 #52BFCD
tetradic
#CD52BF #CD9E52 #52CD60 #5282CD
square
#CD52BF #CD9E52 #52CD60 #5282CD
split-complementary
#CD52BF #82CD52 #52CD9E
monochromatic
#802575 #AF33A1 #CD52BF #DB81D1 #E8B1E2

Accessibility & contrast

On white

3.78
#CD52BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CD52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52BF#FFFFFF#000000##000000
##CD52BF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#758ABC
Tritanopia (blue-blind)
#D55C81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52bf;
/* rgb */ color: rgb(205, 82, 191);
/* oklch */ color: oklch(63.7% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad2',
    500: '#cd52bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd52bf;
$custom-light: #df8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52bf",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 306.829,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.19959,
    "h": 332.3
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#CD52BF
secondary
#A4D7AA
accent
#DE5A49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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