#CD4EC5#CD4EC5

#CD4EC5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.210 H 330.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD4EC5
RGBrgb(205, 78, 197)
HSLhsl(304, 56%, 55%)
HSVhsv(304, 62%, 80%)
CMYKcmyk(0%, 62%, 3.9%, 19.6%)
CIE-LABlab(54.51, 64.34, -37.85)
CIE-LCHlch(54.51, 74.64, 329.53°)
OKLaboklab(63.51% 0.1823 -0.104)
OKLCHoklch(63.51% 0.21 330.3)
XYZxyz(37.9790, 22.4618, 55.1477)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC5 #4ECD56
analogous
#964ECD #CD4EC5 #CD4E85
triadic
#CD4EC5 #C5CD4E #4EC5CD
tetradic
#CD4EC5 #CD964E #4ECD56 #4E85CD
square
#CD4EC5 #CD964E #4ECD56 #4E85CD
split-complementary
#CD4EC5 #85CD4E #4ECD96
monochromatic
#7D2378 #AD31A5 #CD4EC5 #DA7ED5 #E8ADE4

Accessibility & contrast

On white

3.82
#CD4EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EC5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EC5#FFFFFF#000000##000000
##CD4EC51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4577C9
Deuteranopia (green-blind)
#7089C2
Tritanopia (blue-blind)
#D45B83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4ec5;
/* rgb */ color: rgb(205, 78, 197);
/* oklch */ color: oklch(63.5% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#df88d7',
    500: '#cd4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec5;
$custom-light: #df88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec5",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 303.78,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.20988,
    "h": 330.3
  },
  "luminance": 0.22459
}

Semantic roles & 50–950 ramp

primary
#CD4EC5
secondary
#A1D6A4
accent
#DF5249
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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