#CD52C2#CD52C2

#CD52C2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.202 H 331.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CD52C2
RGBrgb(205, 82, 194)
HSLhsl(305, 55%, 56%)
HSVhsv(305, 60%, 80%)
CMYKcmyk(0%, 60%, 5.4%, 19.6%)
CIE-LABlab(54.98, 62.17, -35.39)
CIE-LCHlch(54.98, 71.54, 330.35°)
OKLaboklab(63.8% 0.1772 -0.097)
OKLCHoklch(63.8% 0.202 331.3)
XYZxyz(37.9316, 22.9115, 53.4530)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52C2 #52CD5D
analogous
#9B52CD #CD52C2 #CD5285
triadic
#CD52C2 #C2CD52 #52C2CD
tetradic
#CD52C2 #CD9B52 #52CD5D #5285CD
square
#CD52C2 #CD9B52 #52CD5D #5285CD
split-complementary
#CD52C2 #85CD52 #52CD9B
monochromatic
#802578 #AF33A4 #CD52C2 #DB81D3 #E8B1E3

Accessibility & contrast

On white

3.76
#CD52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CD52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52C2#FFFFFF#000000##000000
##CD52C21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D55D83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd52c2;
/* rgb */ color: rgb(205, 82, 194);
/* oklch */ color: oklch(63.8% 0.202 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad5',
    500: '#cd52c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd52c2;
$custom-light: #df8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52c2",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 305.366,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.20196,
    "h": 331.3
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#CD52C2
secondary
#A4D7A9
accent
#DE5749
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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