#CD5CC2#CD5CC2

#CD5CC2 is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.0% C 0.187 H 331.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CD5CC2
RGBrgb(205, 92, 194)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 55%, 80%)
CMYKcmyk(0%, 55.1%, 5.4%, 19.6%)
CIE-LABlab(56.62, 57.72, -32.84)
CIE-LCHlch(56.62, 66.41, 330.36°)
OKLaboklab(65% 0.1644 -0.0898)
OKLCHoklch(65% 0.187 331.4)
XYZxyz(38.7414, 24.5311, 53.7229)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CC2 #5CCD67
analogous
#9F5CCD #CD5CC2 #CD5C89
triadic
#CD5CC2 #C2CD5C #5CC2CD
tetradic
#CD5CC2 #CD9F5C #5CCD67 #5C89CD
square
#CD5CC2 #CD9F5C #5CCD67 #5C89CD
split-complementary
#CD5CC2 #89CD5C #5CCD9F
monochromatic
#86297D #B437A8 #CD5CC2 #DB8BD4 #EABAE5

Accessibility & contrast

On white

3.56
#CD5CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CD5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CC2#FFFFFF#000000##000000
##CD5CC21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#D46587
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5cc2;
/* rgb */ color: rgb(205, 92, 194);
/* oklch */ color: oklch(65.0% 0.187 331.4);
Tailwind
colors: {
  custom: {
    50: '#df8fd4',
    500: '#cd5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cc2;
$custom-light: #df8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cc2",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 305.841,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65,
    "c": 0.18727,
    "h": 331.4
  },
  "luminance": 0.24528
}

Semantic roles & 50–950 ramp

primary
#CD5CC2
secondary
#ACD9B0
accent
#DC594B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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