#CD5DBE#CD5DBE

#CD5DBE is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.182 H 332.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CD5DBE
RGBrgb(205, 93, 190)
HSLhsl(308, 53%, 58%)
HSVhsv(308, 55%, 80%)
CMYKcmyk(0%, 54.6%, 7.3%, 19.6%)
CIE-LABlab(56.61, 56.60, -30.55)
CIE-LCHlch(56.61, 64.32, 331.64°)
OKLaboklab(64.94% 0.1624 -0.0832)
OKLCHoklch(64.94% 0.182 332.9)
XYZxyz(38.3854, 24.5282, 51.4179)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DBE #5DCD6C
analogous
#A45DCD #CD5DBE #CD5D86
triadic
#CD5DBE #BECD5D #5DBECD
tetradic
#CD5DBE #CDA45D #5DCD6C #5D86CD
square
#CD5DBE #CDA45D #5DCD6C #5D86CD
split-complementary
#CD5DBE #86CD5D #5DCDA4
monochromatic
#86297A #B538A4 #CD5DBE #DB8CD1 #EABBE4

Accessibility & contrast

On white

3.56
#CD5DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CD5DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DBE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DBE#FFFFFF#000000##000000
##CD5DBE1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC1
Deuteranopia (green-blind)
#7C8EBB
Tritanopia (blue-blind)
#D56585
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5dbe;
/* rgb */ color: rgb(205, 93, 190);
/* oklch */ color: oklch(64.9% 0.182 332.9);
Tailwind
colors: {
  custom: {
    50: '#df90d2',
    500: '#cd5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dbe;
$custom-light: #df90d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dbe",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 308.036,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.18247,
    "h": 332.9
  },
  "luminance": 0.24526
}

Semantic roles & 50–950 ramp

primary
#CD5DBE
secondary
#ADD9B3
accent
#DC5F4C
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D14
muted
#847E82

Preview Lab

Preview with #CD5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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