#CD5CC5#CD5CC5

#CD5CC5 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.190 H 330.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD5CC5
RGBrgb(205, 92, 197)
HSLhsl(304, 53%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 55.1%, 3.9%, 19.6%)
CIE-LABlab(56.75, 58.23, -34.35)
CIE-LCHlch(56.75, 67.60, 329.47°)
OKLaboklab(65.14% 0.1648 -0.0941)
OKLCHoklch(65.14% 0.19 330.3)
XYZxyz(39.0817, 24.6672, 55.5153)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CC5 #5CCD64
analogous
#9C5CCD #CD5CC5 #CD5C8C
triadic
#CD5CC5 #C5CD5C #5CC5CD
tetradic
#CD5CC5 #CD9C5C #5CCD64 #5C8CCD
square
#CD5CC5 #CD9C5C #5CCD64 #5C8CCD
split-complementary
#CD5CC5 #8CCD5C #5CCD9C
monochromatic
#86297F #B437AC #CD5CC5 #DB8BD6 #EABAE6

Accessibility & contrast

On white

3.54
#CD5CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD5CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CC5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CC5#FFFFFF#000000##000000
##CD5CC51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#788EC2
Tritanopia (blue-blind)
#D46688
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5cc5;
/* rgb */ color: rgb(205, 92, 197);
/* oklch */ color: oklch(65.1% 0.190 330.3);
Tailwind
colors: {
  custom: {
    50: '#df90d7',
    500: '#cd5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cc5;
$custom-light: #df90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cc5",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 304.248,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65142,
    "c": 0.18976,
    "h": 330.3
  },
  "luminance": 0.24665
}

Semantic roles & 50–950 ramp

primary
#CD5CC5
secondary
#ACD9AF
accent
#DC564B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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