#CD52CD#CD52CD

#CD52CD is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.211 H 327.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD52CD
RGBrgb(205, 82, 205)
HSLhsl(300, 55%, 56%)
HSVhsv(300, 60%, 80%)
CMYKcmyk(0%, 60%, 0%, 19.6%)
CIE-LABlab(55.51, 64.00, -40.87)
CIE-LCHlch(55.51, 75.94, 327.44°)
OKLaboklab(64.36% 0.1782 -0.1127)
OKLCHoklch(64.36% 0.211 327.7)
XYZxyz(39.2130, 23.4240, 60.2017)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52CD #52CD52
analogous
#9052CD #CD52CD #CD5290
triadic
#CD52CD #CDCD52 #52CDCD
tetradic
#CD52CD #CD9052 #52CD52 #5290CD
square
#CD52CD #CD9052 #52CD52 #5290CD
split-complementary
#CD52CD #90CD52 #52CD90
monochromatic
#802580 #AF33AF #CD52CD #DB81DB #E8B1E8

Accessibility & contrast

On white

3.69
#CD52CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52CD#FFFFFF#000000##000000
##CD52CD1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD1
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#D36188
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd52cd;
/* rgb */ color: rgb(205, 82, 205);
/* oklch */ color: oklch(64.4% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#df8adc',
    500: '#cd52cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd52cd;
$custom-light: #df8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52cd",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.2109,
    "h": 327.7
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#CD52CD
secondary
#A4D7A4
accent
#DE4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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