#CD4EC1#CD4EC1

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

Color values

HEX#CD4EC1
RGBrgb(205, 78, 193)
HSLhsl(306, 56%, 55%)
HSVhsv(306, 62%, 80%)
CMYKcmyk(0%, 62%, 5.9%, 19.6%)
CIE-LABlab(54.32, 63.69, -35.85)
CIE-LCHlch(54.32, 73.08, 330.63°)
OKLaboklab(63.31% 0.1819 -0.0983)
OKLCHoklch(63.31% 0.207 331.6)
XYZxyz(37.5268, 22.2809, 52.7659)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC1 #4ECD5A
analogous
#994ECD #CD4EC1 #CD4E82
triadic
#CD4EC1 #C1CD4E #4EC1CD
tetradic
#CD4EC1 #CD994E #4ECD5A #4E82CD
square
#CD4EC1 #CD994E #4ECD5A #4E82CD
split-complementary
#CD4EC1 #82CD4E #4ECD99
monochromatic
#7D2375 #AD31A1 #CD4EC1 #DA7ED2 #E8ADE2

Accessibility & contrast

On white

3.85
#CD4EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4EC1#FFFFFF#000000##000000
##CD4EC11.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C4
Deuteranopia (green-blind)
#7288BE
Tritanopia (blue-blind)
#D55A80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4ec1;
/* rgb */ color: rgb(205, 78, 193);
/* oklch */ color: oklch(63.3% 0.207 331.6);
Tailwind
colors: {
  custom: {
    50: '#df88d4',
    500: '#cd4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec1;
$custom-light: #df88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec1",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 305.669,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.20673,
    "h": 331.6
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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