#CD5EC5#CD5EC5

#CD5EC5 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.187 H 330.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC5
RGBrgb(205, 94, 197)
HSLhsl(304, 53%, 59%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 54.1%, 3.9%, 19.6%)
CIE-LABlab(57.09, 57.30, -33.81)
CIE-LCHlch(57.09, 66.53, 329.46°)
OKLaboklab(65.39% 0.1621 -0.0925)
OKLCHoklch(65.39% 0.187 330.3)
XYZxyz(39.2573, 25.0183, 55.5738)
Luminance0.2502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC5 #5ECD66
analogous
#9D5ECD #CD5EC5 #CD5E8D
triadic
#CD5EC5 #C5CD5E #5EC5CD
tetradic
#CD5EC5 #CD9D5E #5ECD66 #5E8DCD
square
#CD5EC5 #CD9D5E #5ECD66 #5E8DCD
split-complementary
#CD5EC5 #8DCD5E #5ECD9D
monochromatic
#872A80 #B538AC #CD5EC5 #DC8DD6 #EABBE7

Accessibility & contrast

On white

3.50
#CD5EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CD5EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC5#FFFFFF#000000##000000
##CD5EC51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#7A8FC2
Tritanopia (blue-blind)
#D46889
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5ec5;
/* rgb */ color: rgb(205, 94, 197);
/* oklch */ color: oklch(65.4% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#df91d7',
    500: '#cd5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec5;
$custom-light: #df91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec5",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 304.324,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.1867,
    "h": 330.3
  },
  "luminance": 0.25016
}

Semantic roles & 50–950 ramp

primary
#CD5EC5
secondary
#ADD9B1
accent
#DC564C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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