#CD52BA#CD52BA

#CD52BA is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.196 H 334.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD52BA
RGBrgb(205, 82, 186)
HSLhsl(309, 55%, 56%)
HSVhsv(309, 60%, 80%)
CMYKcmyk(0%, 60%, 9.3%, 19.6%)
CIE-LABlab(54.62, 60.88, -31.35)
CIE-LCHlch(54.62, 68.48, 332.75°)
OKLaboklab(63.42% 0.1761 -0.0854)
OKLCHoklch(63.42% 0.196 334.1)
XYZxyz(37.0572, 22.5617, 48.8479)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52BA #52CD65
analogous
#A352CD #CD52BA #CD527D
triadic
#CD52BA #BACD52 #52BACD
tetradic
#CD52BA #CDA352 #52CD65 #527DCD
square
#CD52BA #CDA352 #52CD65 #527DCD
split-complementary
#CD52BA #7DCD52 #52CDA3
monochromatic
#802572 #AF339C #CD52BA #DB81CD #E8B1E0

Accessibility & contrast

On white

3.81
#CD52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52BA#FFFFFF#000000##000000
##CD52BA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#D65A7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd52ba;
/* rgb */ color: rgb(205, 82, 186);
/* oklch */ color: oklch(63.4% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#df8acf',
    500: '#cd52ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd52ba;
$custom-light: #df8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52ba",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 309.268,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63418,
    "c": 0.19571,
    "h": 334.1
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#CD52BA
secondary
#A4D7AC
accent
#DE6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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