#CD4ECB#CD4ECB

#CD4ECB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.215 H 328.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CD4ECB
RGBrgb(205, 78, 203)
HSLhsl(301, 56%, 55%)
HSVhsv(301, 62%, 80%)
CMYKcmyk(0%, 62%, 1%, 19.6%)
CIE-LABlab(54.81, 65.33, -40.83)
CIE-LCHlch(54.81, 77.04, 328.00°)
OKLaboklab(63.82% 0.1828 -0.1126)
OKLCHoklch(63.82% 0.215 328.4)
XYZxyz(38.6802, 22.7423, 58.8407)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ECB #4ECD50
analogous
#8F4ECD #CD4ECB #CD4E8B
triadic
#CD4ECB #CBCD4E #4ECBCD
tetradic
#CD4ECB #CD8F4E #4ECD50 #4E8BCD
square
#CD4ECB #CD8F4E #4ECD50 #4E8BCD
split-complementary
#CD4ECB #8BCD4E #4ECD8F
monochromatic
#7D237C #AD31AB #CD4ECB #DA7ED9 #E8ADE7

Accessibility & contrast

On white

3.79
#CD4ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CD4ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ECB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ECB#FFFFFF#000000##000000
##CD4ECB1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#D35E86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4ecb;
/* rgb */ color: rgb(205, 78, 203);
/* oklch */ color: oklch(63.8% 0.215 328.4);
Tailwind
colors: {
  custom: {
    50: '#df88db',
    500: '#cd4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ecb;
$custom-light: #df88db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ecb",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 300.945,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63815,
    "c": 0.21469,
    "h": 328.4
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#CD4ECB
secondary
#A1D6A2
accent
#DF4B49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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