#CD5EC1#CD5EC1

#CD5EC1 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.183 H 331.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC1
RGBrgb(205, 94, 193)
HSLhsl(306, 53%, 59%)
HSVhsv(306, 54%, 80%)
CMYKcmyk(0%, 54.1%, 5.9%, 19.6%)
CIE-LABlab(56.92, 56.63, -31.80)
CIE-LCHlch(56.92, 64.95, 330.69°)
OKLaboklab(65.21% 0.1615 -0.0868)
OKLCHoklch(65.21% 0.183 331.7)
XYZxyz(38.8050, 24.8374, 53.1919)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC1 #5ECD6A
analogous
#A15ECD #CD5EC1 #CD5E89
triadic
#CD5EC1 #C1CD5E #5EC1CD
tetradic
#CD5EC1 #CDA15E #5ECD6A #5E89CD
square
#CD5EC1 #CDA15E #5ECD6A #5E89CD
split-complementary
#CD5EC1 #89CD5E #5ECDA1
monochromatic
#872A7D #B538A8 #CD5EC1 #DC8DD3 #EABBE5

Accessibility & contrast

On white

3.52
#CD5EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CD5EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC1#FFFFFF#000000##000000
##CD5EC11.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC4
Deuteranopia (green-blind)
#7B8EBE
Tritanopia (blue-blind)
#D56787
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5ec1;
/* rgb */ color: rgb(205, 94, 193);
/* oklch */ color: oklch(65.2% 0.183 331.7);
Tailwind
colors: {
  custom: {
    50: '#df91d4',
    500: '#cd5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec1;
$custom-light: #df91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec1",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 306.486,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.18337,
    "h": 331.7
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#CD5EC1
secondary
#ADD9B2
accent
#DC5B4C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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