#CD4EB8#CD4EB8

#CD4EB8 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.9% C 0.200 H 334.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB8
RGBrgb(205, 78, 184)
HSLhsl(310, 56%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 62%, 10.2%, 19.6%)
CIE-LABlab(53.91, 62.26, -31.29)
CIE-LCHlch(53.91, 69.69, 333.32°)
OKLaboklab(62.87% 0.1808 -0.0852)
OKLCHoklch(62.87% 0.2 334.8)
XYZxyz(36.5532, 21.8915, 47.6384)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB8 #4ECD63
analogous
#A24ECD #CD4EB8 #CD4E79
triadic
#CD4EB8 #B8CD4E #4EB8CD
tetradic
#CD4EB8 #CDA24E #4ECD63 #4E79CD
square
#CD4EB8 #CDA24E #4ECD63 #4E79CD
split-complementary
#CD4EB8 #79CD4E #4ECDA2
monochromatic
#7D236E #AD3198 #CD4EB8 #DA7ECB #E8ADDE

Accessibility & contrast

On white

3.90
#CD4EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CD4EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB8#FFFFFF#000000##000000
##CD4EB81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#7688B5
Tritanopia (blue-blind)
#D6567C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd4eb8;
/* rgb */ color: rgb(205, 78, 184);
/* oklch */ color: oklch(62.9% 0.200 334.8);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cd4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb8;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb8",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 309.921,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62872,
    "c": 0.19985,
    "h": 334.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#CD4EB8
secondary
#A1D6AA
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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