#CD4DB8#CD4DB8

#CD4DB8 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.201 H 334.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CD4DB8
RGBrgb(205, 77, 184)
HSLhsl(310, 56%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 62.4%, 10.2%, 19.6%)
CIE-LABlab(53.76, 62.68, -31.53)
CIE-LCHlch(53.76, 70.16, 333.30°)
OKLaboklab(62.76% 0.182 -0.0859)
OKLCHoklch(62.76% 0.201 334.7)
XYZxyz(36.4827, 21.7505, 47.6149)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DB8 #4DCD62
analogous
#A24DCD #CD4DB8 #CD4D78
triadic
#CD4DB8 #B8CD4D #4DB8CD
tetradic
#CD4DB8 #CDA24D #4DCD62 #4D78CD
square
#CD4DB8 #CDA24D #4DCD62 #4D78CD
split-complementary
#CD4DB8 #78CD4D #4DCDA2
monochromatic
#7D236E #AC3098 #CD4DB8 #DA7DCB #E8ADDE

Accessibility & contrast

On white

3.93
#CD4DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CD4DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DB8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DB8#FFFFFF#000000##000000
##CD4DB81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#D6567C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4db8;
/* rgb */ color: rgb(205, 77, 184);
/* oklch */ color: oklch(62.8% 0.201 334.7);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cd4db8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4db8;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4db8",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 309.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62762,
    "c": 0.20123,
    "h": 334.7
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#CD4DB8
secondary
#A0D6A9
accent
#DF6148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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