#CD4EC8#CD4EC8

#CD4EC8 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.212 H 329.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD4EC8
RGBrgb(205, 78, 200)
HSLhsl(302, 56%, 55%)
HSVhsv(302, 62%, 80%)
CMYKcmyk(0%, 62%, 2.4%, 19.6%)
CIE-LABlab(54.66, 64.83, -39.34)
CIE-LCHlch(54.66, 75.83, 328.75°)
OKLaboklab(63.66% 0.1826 -0.1083)
OKLCHoklch(63.66% 0.212 329.3)
XYZxyz(38.3262, 22.6007, 56.9761)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC8 #4ECD53
analogous
#924ECD #CD4EC8 #CD4E88
triadic
#CD4EC8 #C8CD4E #4EC8CD
tetradic
#CD4EC8 #CD924E #4ECD53 #4E88CD
square
#CD4EC8 #CD924E #4ECD53 #4E88CD
split-complementary
#CD4EC8 #88CD4E #4ECD92
monochromatic
#7D237A #AD31A8 #CD4EC8 #DA7ED7 #E8ADE6

Accessibility & contrast

On white

3.80
#CD4EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD4EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EC8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EC8#FFFFFF#000000##000000
##CD4EC81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#6F89C5
Tritanopia (blue-blind)
#D45D84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4ec8;
/* rgb */ color: rgb(205, 78, 200);
/* oklch */ color: oklch(63.7% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#df88d9',
    500: '#cd4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec8;
$custom-light: #df88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec8",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 302.362,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6366,
    "c": 0.21227,
    "h": 329.3
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#CD4EC8
secondary
#A1D6A3
accent
#DF4E49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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