#CD4EB9#CD4EB9

#CD4EB9 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.9% C 0.201 H 334.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB9
RGBrgb(205, 78, 185)
HSLhsl(309, 56%, 55%)
HSVhsv(309, 62%, 80%)
CMYKcmyk(0%, 62%, 9.8%, 19.6%)
CIE-LABlab(53.96, 62.42, -31.80)
CIE-LCHlch(53.96, 70.05, 333.00°)
OKLaboklab(62.92% 0.1809 -0.0867)
OKLCHoklch(62.92% 0.201 334.4)
XYZxyz(36.6584, 21.9336, 48.1924)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB9 #4ECD62
analogous
#A14ECD #CD4EB9 #CD4E79
triadic
#CD4EB9 #B9CD4E #4EB9CD
tetradic
#CD4EB9 #CDA14E #4ECD62 #4E79CD
square
#CD4EB9 #CDA14E #4ECD62 #4E79CD
split-complementary
#CD4EB9 #79CD4E #4ECDA1
monochromatic
#7D236F #AD3199 #CD4EB9 #DA7ECC #E8ADDF

Accessibility & contrast

On white

3.90
#CD4EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CD4EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB9#FFFFFF#000000##000000
##CD4EB91.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#7588B6
Tritanopia (blue-blind)
#D6577C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd4eb9;
/* rgb */ color: rgb(205, 78, 185);
/* oklch */ color: oklch(62.9% 0.201 334.4);
Tailwind
colors: {
  custom: {
    50: '#df87ce',
    500: '#cd4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb9;
$custom-light: #df87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb9",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 309.449,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.20059,
    "h": 334.4
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#CD4EB9
secondary
#A1D6A9
accent
#DF6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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