#CD2CC5#CD2CC5

#CD2CC5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.6% C 0.247 H 330.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD2CC5
RGBrgb(205, 44, 197)
HSLhsl(303, 65%, 49%)
HSVhsv(303, 79%, 80%)
CMYKcmyk(0%, 78.5%, 3.9%, 19.6%)
CIE-LABlab(50.47, 75.78, -44.23)
CIE-LCHlch(50.47, 87.74, 329.73°)
OKLaboklab(60.6% 0.2152 -0.1222)
OKLCHoklch(60.6% 0.247 330.4)
XYZxyz(36.1555, 18.8147, 54.5398)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CC5 #2CCD34
analogous
#852CCD #CD2CC5 #CD2C75
triadic
#CD2CC5 #C5CD2C #2CC5CD
tetradic
#CD2CC5 #CD852C #2CCD34 #2C75CD
square
#CD2CC5 #CD852C #2CCD34 #2C75CD
split-complementary
#CD2CC5 #75CD2C #2CCD85
monochromatic
#681664 #9B2195 #CD2CC5 #DC5BD5 #E78DE2

Accessibility & contrast

On white

4.41
#CD2CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CD2CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CC5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CC5#FFFFFF#000000##000000
##CD2CC51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#106AC9
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#D54479
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd2cc5;
/* rgb */ color: rgb(205, 44, 197);
/* oklch */ color: oklch(60.6% 0.247 330.4);
Tailwind
colors: {
  custom: {
    50: '#e179d7',
    500: '#cd2cc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cc5;
$custom-light: #e179d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cc5",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 302.981,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.24746,
    "h": 330.4
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#CD2CC5
secondary
#84D188
accent
#E84840
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD2CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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