#CD52C8#CD52C8

#CD52C8 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.207 H 329.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD52C8
RGBrgb(205, 82, 200)
HSLhsl(302, 55%, 56%)
HSVhsv(302, 60%, 80%)
CMYKcmyk(0%, 60%, 2.4%, 19.6%)
CIE-LABlab(55.26, 63.16, -38.39)
CIE-LCHlch(55.26, 73.91, 328.71°)
OKLaboklab(64.1% 0.1778 -0.1056)
OKLCHoklch(64.1% 0.207 329.3)
XYZxyz(38.6191, 23.1865, 57.0737)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C8 #52CD57
analogous
#9552CD #CD52C8 #CD528B
triadic
#CD52C8 #C8CD52 #52C8CD
tetradic
#CD52C8 #CD9552 #52CD57 #528BCD
square
#CD52C8 #CD9552 #52CD57 #528BCD
split-complementary
#CD52C8 #8BCD52 #52CD95
monochromatic
#80257C #AF33AA #CD52C8 #DB81D7 #E8B1E6

Accessibility & contrast

On white

3.73
#CD52C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD52C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C8#FFFFFF#000000##000000
##CD52C81.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACC
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#D46086
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c8;
/* rgb */ color: rgb(205, 82, 200);
/* oklch */ color: oklch(64.1% 0.207 329.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad9',
    500: '#cd52c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c8;
$custom-light: #df8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c8",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 302.439,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.641,
    "c": 0.2068,
    "h": 329.3
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#CD52C8
secondary
#A4D7A6
accent
#DE4F49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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