#CD4DCB#CD4DCB

#CD4DCB is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.216 H 328.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD4DCB
RGBrgb(205, 77, 203)
HSLhsl(301, 56%, 55%)
HSVhsv(301, 62%, 80%)
CMYKcmyk(0%, 62.4%, 1%, 19.6%)
CIE-LABlab(54.66, 65.74, -41.06)
CIE-LCHlch(54.66, 77.50, 328.01°)
OKLaboklab(63.71% 0.1839 -0.1133)
OKLCHoklch(63.71% 0.216 328.4)
XYZxyz(38.6097, 22.6013, 58.8172)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DCB #4DCD4F
analogous
#8F4DCD #CD4DCB #CD4D8B
triadic
#CD4DCB #CBCD4D #4DCBCD
tetradic
#CD4DCB #CD8F4D #4DCD4F #4D8BCD
square
#CD4DCB #CD8F4D #4DCD4F #4D8BCD
split-complementary
#CD4DCB #8BCD4D #4DCD8F
monochromatic
#7D237B #AC30AA #CD4DCB #DA7DD9 #E8ADE7

Accessibility & contrast

On white

3.80
#CD4DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD4DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DCB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DCB#FFFFFF#000000##000000
##CD4DCB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#D35D85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4dcb;
/* rgb */ color: rgb(205, 77, 203);
/* oklch */ color: oklch(63.7% 0.216 328.4);
Tailwind
colors: {
  custom: {
    50: '#e087db',
    500: '#cd4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dcb;
$custom-light: #e087db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dcb",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 300.938,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63708,
    "c": 0.21601,
    "h": 328.4
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

primary
#CD4DCB
secondary
#A0D6A1
accent
#DF4B48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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