#CD29C2#CD29C2

#CD29C2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.248 H 331.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD29C2
RGBrgb(205, 41, 194)
HSLhsl(304, 67%, 48%)
HSVhsv(304, 80%, 80%)
CMYKcmyk(0%, 80%, 5.4%, 19.6%)
CIE-LABlab(50.05, 76.07, -43.16)
CIE-LCHlch(50.05, 87.46, 330.43°)
OKLaboklab(60.25% 0.2173 -0.1191)
OKLCHoklch(60.25% 0.248 331.3)
XYZxyz(35.7074, 18.4630, 52.7116)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD29C2 #29CD34
analogous
#8629CD #CD29C2 #CD2970
triadic
#CD29C2 #C2CD29 #29C2CD
tetradic
#CD29C2 #CD8629 #29CD34 #2970CD
square
#CD29C2 #CD8629 #29CD34 #2970CD
split-complementary
#CD29C2 #70CD29 #29CD86
monochromatic
#671561 #9A1F92 #CD29C2 #DD56D4 #E789E1

Accessibility & contrast

On white

4.48
#CD29C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD29C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD29C2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD29C2#FFFFFF#000000##000000
##CD29C21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#617FBE
Tritanopia (blue-blind)
#D54176
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd29c2;
/* rgb */ color: rgb(205, 41, 194);
/* oklch */ color: oklch(60.2% 0.248 331.3);
Tailwind
colors: {
  custom: {
    50: '#e178d5',
    500: '#cd29c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd29c2;
$custom-light: #e178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd29c2",
  "rgb": {
    "r": 205,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 304.024,
    "s": 66.667,
    "l": 48.235
  },
  "oklch": {
    "l": 0.60247,
    "c": 0.24781,
    "h": 331.3
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#CD29C2
secondary
#81D186
accent
#EA4A3E
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD29C2

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

Preview Lab → · Contrast checker → · Palette generator →

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