#CD52B9#CD52B9

#CD52B9 is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.4% C 0.195 H 334.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CD52B9
RGBrgb(205, 82, 185)
HSLhsl(310, 55%, 56%)
HSVhsv(310, 60%, 80%)
CMYKcmyk(0%, 60%, 9.8%, 19.6%)
CIE-LABlab(54.57, 60.73, -30.84)
CIE-LCHlch(54.57, 68.11, 333.07°)
OKLaboklab(63.37% 0.1759 -0.084)
OKLCHoklch(63.37% 0.195 334.5)
XYZxyz(36.9513, 22.5193, 48.2900)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B9 #52CD66
analogous
#A452CD #CD52B9 #CD527C
triadic
#CD52B9 #B9CD52 #52B9CD
tetradic
#CD52B9 #CDA452 #52CD66 #527CCD
square
#CD52B9 #CDA452 #52CD66 #527CCD
split-complementary
#CD52B9 #7CCD52 #52CDA4
monochromatic
#802571 #AF339B #CD52B9 #DB81CC #E8B1DF

Accessibility & contrast

On white

3.82
#CD52B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CD52B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B9#FFFFFF#000000##000000
##CD52B91.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BC
Deuteranopia (green-blind)
#7889B6
Tritanopia (blue-blind)
#D65A7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52b9;
/* rgb */ color: rgb(205, 82, 185);
/* oklch */ color: oklch(63.4% 0.195 334.5);
Tailwind
colors: {
  custom: {
    50: '#df8ace',
    500: '#cd52b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b9;
$custom-light: #df8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b9",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 309.756,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63371,
    "c": 0.19495,
    "h": 334.5
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#CD52B9
secondary
#A4D7AC
accent
#DE6249
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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