#CD5DBC#CD5DBC

#CD5DBC is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.181 H 333.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CD5DBC
RGBrgb(205, 93, 188)
HSLhsl(309, 53%, 58%)
HSVhsv(309, 55%, 80%)
CMYKcmyk(0%, 54.6%, 8.3%, 19.6%)
CIE-LABlab(56.53, 56.27, -29.54)
CIE-LCHlch(56.53, 63.55, 332.31°)
OKLaboklab(64.85% 0.162 -0.0803)
OKLCHoklch(64.85% 0.181 333.6)
XYZxyz(38.1683, 24.4413, 50.2745)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DBC #5DCD6E
analogous
#A65DCD #CD5DBC #CD5D84
triadic
#CD5DBC #BCCD5D #5DBCCD
tetradic
#CD5DBC #CDA65D #5DCD6E #5D84CD
square
#CD5DBC #CDA65D #5DCD6E #5D84CD
split-complementary
#CD5DBC #84CD5D #5DCDA6
monochromatic
#862978 #B538A2 #CD5DBC #DB8CCF #EABBE3

Accessibility & contrast

On white

3.57
#CD5DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CD5DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DBC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DBC#FFFFFF#000000##000000
##CD5DBC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#D56484
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5dbc;
/* rgb */ color: rgb(205, 93, 188);
/* oklch */ color: oklch(64.8% 0.181 333.6);
Tailwind
colors: {
  custom: {
    50: '#df90d0',
    500: '#cd5dbc',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dbc;
$custom-light: #df90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dbc",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 309.107,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64849,
    "c": 0.18086,
    "h": 333.6
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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