#CD5CC7#CD5CC7

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

Color values

HEX#CD5CC7
RGBrgb(205, 92, 199)
HSLhsl(303, 53%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 55.1%, 2.9%, 19.6%)
CIE-LABlab(56.84, 58.57, -35.35)
CIE-LCHlch(56.84, 68.41, 328.89°)
OKLaboklab(65.24% 0.1651 -0.0969)
OKLCHoklch(65.24% 0.191 329.6)
XYZxyz(39.3124, 24.7595, 56.7302)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CC7 #5CCD62
analogous
#9A5CCD #CD5CC7 #CD5C8E
triadic
#CD5CC7 #C7CD5C #5CC7CD
tetradic
#CD5CC7 #CD9A5C #5CCD62 #5C8ECD
square
#CD5CC7 #CD9A5C #5CCD62 #5C8ECD
split-complementary
#CD5CC7 #8ECD5C #5CCD9A
monochromatic
#862981 #B437AE #CD5CC7 #DB8BD7 #EABAE7

Accessibility & contrast

On white

3.53
#CD5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CD5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CC7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CC7#FFFFFF#000000##000000
##CD5CC71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D46789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5cc7;
/* rgb */ color: rgb(205, 92, 199);
/* oklch */ color: oklch(65.2% 0.191 329.6);
Tailwind
colors: {
  custom: {
    50: '#df90d8',
    500: '#cd5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cc7;
$custom-light: #df90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cc7",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 303.186,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65238,
    "c": 0.19143,
    "h": 329.6
  },
  "luminance": 0.24757
}

Semantic roles & 50–950 ramp

primary
#CD5CC7
secondary
#ACD9AE
accent
#DC534B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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