#CD4DE2#CD4DE2

#CD4DE2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.235 H 321.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CD4DE2
RGBrgb(205, 77, 226)
HSLhsl(292, 72%, 59%)
HSVhsv(292, 66%, 89%)
CMYKcmyk(9.3%, 65.9%, 0%, 11.4%)
CIE-LABlab(55.87, 69.72, -52.20)
CIE-LCHlch(55.87, 87.10, 323.18°)
OKLaboklab(64.97% 0.1846 -0.1456)
OKLCHoklch(64.97% 0.235 321.7)
XYZxyz(41.5567, 23.7801, 74.3378)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DE2 #62E24D
analogous
#834DE2 #CD4DE2 #E24DAC
triadic
#CD4DE2 #E2CD4D #4DE2CD
tetradic
#CD4DE2 #E2834D #62E24D #4DACE2
square
#CD4DE2 #E2834D #62E24D #4DACE2
split-complementary
#CD4DE2 #ACE24D #4DE283
monochromatic
#89199B #B722D0 #CD4DE2 #DC82EB #EBB6F3

Accessibility & contrast

On white

3.65
#CD4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CD4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DE2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DE2#FFFFFF#000000##000000
##CD4DE21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE6
Deuteranopia (green-blind)
#5F8BDE
Tritanopia (blue-blind)
#CF6692
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd4de2;
/* rgb */ color: rgb(205, 77, 226);
/* oklch */ color: oklch(65.0% 0.235 321.7);
Tailwind
colors: {
  custom: {
    50: '#e088ec',
    500: '#cd4de2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4de2;
$custom-light: #e088ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4de2",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 291.544,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64971,
    "c": 0.23513,
    "h": 321.7
  },
  "luminance": 0.23778
}

Semantic roles & 50–950 ramp

primary
#CD4DE2
secondary
#B1E2A8
accent
#EF3953
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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