#CD52D3#CD52D3

#CD52D3 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.216 H 325.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CD52D3
RGBrgb(205, 82, 211)
HSLhsl(297, 59%, 57%)
HSVhsv(297, 61%, 83%)
CMYKcmyk(2.8%, 61.1%, 0%, 17.3%)
CIE-LABlab(55.81, 65.03, -43.81)
CIE-LCHlch(55.81, 78.41, 326.03°)
OKLaboklab(64.67% 0.1787 -0.1213)
OKLCHoklch(64.67% 0.216 325.8)
XYZxyz(39.9512, 23.7193, 64.0894)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52D3 #58D352
analogous
#8C52D3 #CD52D3 #D35299
triadic
#CD52D3 #D3CD52 #52D3CD
tetradic
#CD52D3 #D38C52 #58D352 #5299D3
square
#CD52D3 #D38C52 #58D352 #5299D3
split-complementary
#CD52D3 #99D352 #52D38C
monochromatic
#832388 #B22FB9 #CD52D3 #DB83DF #E9B4EC

Accessibility & contrast

On white

3.66
#CD52D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CD52D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52D3#FFFFFF#000000##000000
##CD52D31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#6B8BD0
Tritanopia (blue-blind)
#D2648B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd52d3;
/* rgb */ color: rgb(205, 82, 211);
/* oklch */ color: oklch(64.7% 0.216 325.8);
Tailwind
colors: {
  custom: {
    50: '#df8ae1',
    500: '#cd52d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd52d3;
$custom-light: #df8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52d3",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 297.209,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.21592,
    "h": 325.8
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#CD52D3
secondary
#A9DAA6
accent
#E3454D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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