#CD52DF#CD52DF

#CD52DF is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.226 H 322.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CD52DF
RGBrgb(205, 82, 223)
HSLhsl(292, 69%, 60%)
HSVhsv(292, 63%, 87%)
CMYKcmyk(8.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(56.43, 67.16, -49.61)
CIE-LCHlch(56.43, 83.50, 323.55°)
OKLaboklab(65.33% 0.1791 -0.1381)
OKLCHoklch(65.33% 0.226 322.4)
XYZxyz(41.5120, 24.3436, 72.3100)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52DF #64DF52
analogous
#8652DF #CD52DF #DF52AB
triadic
#CD52DF #DFCD52 #52DFCD
tetradic
#CD52DF #DF8652 #64DF52 #52ABDF
square
#CD52DF #DF8652 #64DF52 #52ABDF
split-complementary
#CD52DF #ABDF52 #52DF86
monochromatic
#8A1D9A #B826CE #CD52DF #DC86E9 #EBB9F2

Accessibility & contrast

On white

3.58
#CD52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CD52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52DF#FFFFFF#000000##000000
##CD52DF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#648CDB
Tritanopia (blue-blind)
#D06892
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd52df;
/* rgb */ color: rgb(205, 82, 223);
/* oklch */ color: oklch(65.3% 0.226 322.4);
Tailwind
colors: {
  custom: {
    50: '#e08be9',
    500: '#cd52df',
    950: '#000000',
  },
}
SCSS
$custom: #cd52df;
$custom-light: #e08be9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52df",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 292.34,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.22617,
    "h": 322.4
  },
  "luminance": 0.24341
}

Semantic roles & 50–950 ramp

primary
#CD52DF
secondary
#B2E2AB
accent
#EC3C53
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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