#CD4CD1#CD4CD1

#CD4CD1 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.222 H 326.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CD4CD1
RGBrgb(205, 76, 209)
HSLhsl(298, 59%, 56%)
HSVhsv(298, 64%, 82%)
CMYKcmyk(1.9%, 63.6%, 0%, 18%)
CIE-LABlab(54.82, 67.15, -44.23)
CIE-LCHlch(54.82, 80.41, 326.63°)
OKLaboklab(63.92% 0.1854 -0.1224)
OKLCHoklch(63.92% 0.222 326.6)
XYZxyz(39.2692, 22.7540, 62.6328)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CD1 #50D14C
analogous
#8A4CD1 #CD4CD1 #D14C93
triadic
#CD4CD1 #D1CD4C #4CD1CD
tetradic
#CD4CD1 #D18A4C #50D14C #4C93D1
square
#CD4CD1 #D18A4C #50D14C #4C93D1
split-complementary
#CD4CD1 #93D14C #4CD18A
monochromatic
#7E2181 #AE2EB2 #CD4CD1 #DB7DDE #E8ADEA

Accessibility & contrast

On white

3.78
#CD4CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CD4CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CD1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CD1#FFFFFF#000000##000000
##CD4CD11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3779D5
Deuteranopia (green-blind)
#6989CD
Tritanopia (blue-blind)
#D25F88
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4cd1;
/* rgb */ color: rgb(205, 76, 209);
/* oklch */ color: oklch(63.9% 0.222 326.6);
Tailwind
colors: {
  custom: {
    50: '#e087df',
    500: '#cd4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cd1;
$custom-light: #e087df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cd1",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 298.195,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.22219,
    "h": 326.6
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#CD4CD1
secondary
#A2D8A1
accent
#E2464A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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