#CD4DCD#CD4DCD

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

Color values

HEX#CD4DCD
RGBrgb(205, 77, 205)
HSLhsl(300, 56%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0%, 62.4%, 0%, 19.6%)
CIE-LABlab(54.76, 66.07, -42.04)
CIE-LCHlch(54.76, 78.31, 327.53°)
OKLaboklab(63.81% 0.1841 -0.1161)
OKLCHoklch(63.81% 0.218 327.8)
XYZxyz(38.8496, 22.6972, 60.0805)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DCD #4DCD4D
analogous
#8D4DCD #CD4DCD #CD4D8D
triadic
#CD4DCD #CDCD4D #4DCDCD
tetradic
#CD4DCD #CD8D4D #4DCD4D #4D8DCD
square
#CD4DCD #CD8D4D #4DCD4D #4D8DCD
split-complementary
#CD4DCD #8DCD4D #4DCD8D
monochromatic
#7D237D #AC30AC #CD4DCD #DA7DDA #E8ADE8

Accessibility & contrast

On white

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

On black

5.54
#CD4DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DCD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DCD#FFFFFF#000000##000000
##CD4DCD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#D35E86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4dcd;
/* rgb */ color: rgb(205, 77, 205);
/* oklch */ color: oklch(63.8% 0.218 327.8);
Tailwind
colors: {
  custom: {
    50: '#e087dd',
    500: '#cd4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dcd;
$custom-light: #e087dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dcd",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.21763,
    "h": 327.8
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#CD4DCD
secondary
#A0D6A0
accent
#DF4848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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