#CD52BB#CD52BB

#CD52BB is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.5% C 0.196 H 333.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD52BB
RGBrgb(205, 82, 187)
HSLhsl(309, 55%, 56%)
HSVhsv(309, 60%, 80%)
CMYKcmyk(0%, 60%, 8.8%, 19.6%)
CIE-LABlab(54.66, 61.04, -31.86)
CIE-LCHlch(54.66, 68.85, 332.44°)
OKLaboklab(63.47% 0.1762 -0.0869)
OKLCHoklch(63.47% 0.196 333.8)
XYZxyz(37.1639, 22.6044, 49.4098)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52BB #52CD64
analogous
#A252CD #CD52BB #CD527E
triadic
#CD52BB #BBCD52 #52BBCD
tetradic
#CD52BB #CDA252 #52CD64 #527ECD
square
#CD52BB #CDA252 #52CD64 #527ECD
split-complementary
#CD52BB #7ECD52 #52CDA2
monochromatic
#802572 #AF339D #CD52BB #DB81CE #E8B1E0

Accessibility & contrast

On white

3.80
#CD52BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD52BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52BB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52BB#FFFFFF#000000##000000
##CD52BB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#7789B8
Tritanopia (blue-blind)
#D65B7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52bb;
/* rgb */ color: rgb(205, 82, 187);
/* oklch */ color: oklch(63.5% 0.196 333.8);
Tailwind
colors: {
  custom: {
    50: '#df8acf',
    500: '#cd52bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd52bb;
$custom-light: #df8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52bb",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 308.78,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63465,
    "c": 0.19649,
    "h": 333.8
  },
  "luminance": 0.22602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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