#CD4EC2#CD4EC2

#CD4EC2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.208 H 331.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CD4EC2
RGBrgb(205, 78, 194)
HSLhsl(305, 56%, 55%)
HSVhsv(305, 62%, 80%)
CMYKcmyk(0%, 62%, 5.4%, 19.6%)
CIE-LABlab(54.37, 63.85, -36.35)
CIE-LCHlch(54.37, 73.47, 330.35°)
OKLaboklab(63.36% 0.182 -0.0997)
OKLCHoklch(63.36% 0.208 331.3)
XYZxyz(37.6387, 22.3257, 53.3554)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC2 #4ECD59
analogous
#984ECD #CD4EC2 #CD4E82
triadic
#CD4EC2 #C2CD4E #4EC2CD
tetradic
#CD4EC2 #CD984E #4ECD59 #4E82CD
square
#CD4EC2 #CD984E #4ECD59 #4E82CD
split-complementary
#CD4EC2 #82CD4E #4ECD98
monochromatic
#7D2375 #AD31A2 #CD4EC2 #DA7ED2 #E8ADE3

Accessibility & contrast

On white

3.84
#CD4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CD4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EC2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EC2#FFFFFF#000000##000000
##CD4EC21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#7288BF
Tritanopia (blue-blind)
#D55A81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4ec2;
/* rgb */ color: rgb(205, 78, 194);
/* oklch */ color: oklch(63.4% 0.208 331.3);
Tailwind
colors: {
  custom: {
    50: '#df88d5',
    500: '#cd4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec2;
$custom-light: #df88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec2",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 305.197,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.20751,
    "h": 331.3
  },
  "luminance": 0.22323
}

Semantic roles & 50–950 ramp

primary
#CD4EC2
secondary
#A1D6A6
accent
#DF5649
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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