#CD4ED8#CD4ED8

#CD4ED8 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.225 H 324.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD4ED8
RGBrgb(205, 78, 216)
HSLhsl(295, 64%, 58%)
HSVhsv(295, 64%, 85%)
CMYKcmyk(5.1%, 63.9%, 0%, 15.3%)
CIE-LABlab(55.47, 67.55, -47.18)
CIE-LCHlch(55.47, 82.40, 325.07°)
OKLaboklab(64.51% 0.1834 -0.131)
OKLCHoklch(64.51% 0.225 324.5)
XYZxyz(40.2949, 23.3882, 67.3444)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ED8 #59D84E
analogous
#884ED8 #CD4ED8 #D84E9E
triadic
#CD4ED8 #D8CD4E #4ED8CD
tetradic
#CD4ED8 #D8884E #59D84E #4E9ED8
square
#CD4ED8 #D8884E #59D84E #4E9ED8
split-complementary
#CD4ED8 #9ED84E #4ED888
monochromatic
#841F8D #B32ABF #CD4ED8 #DB80E3 #E9B2EE

Accessibility & contrast

On white

3.70
#CD4ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD4ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ED8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ED8#FFFFFF#000000##000000
##CD4ED81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#668AD4
Tritanopia (blue-blind)
#D1638C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd4ed8;
/* rgb */ color: rgb(205, 78, 216);
/* oklch */ color: oklch(64.5% 0.225 324.5);
Tailwind
colors: {
  custom: {
    50: '#e088e4',
    500: '#cd4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ed8;
$custom-light: #e088e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ed8",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 295.217,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.22541,
    "h": 324.5
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

primary
#CD4ED8
secondary
#AADDA5
accent
#E7414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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