#CD5CDC#CD5CDC

#CD5CDC is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.3% C 0.210 H 322.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD5CDC
RGBrgb(205, 92, 220)
HSLhsl(293, 65%, 61%)
HSVhsv(293, 58%, 86%)
CMYKcmyk(6.8%, 58.2%, 0%, 13.7%)
CIE-LABlab(57.85, 62.28, -45.67)
CIE-LCHlch(57.85, 77.23, 323.75°)
OKLaboklab(66.31% 0.1672 -0.1267)
OKLCHoklch(66.31% 0.21 322.8)
XYZxyz(41.9210, 25.8029, 70.4686)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CDC #6BDC5C
analogous
#8D5CDC #CD5CDC #DC5CAB
triadic
#CD5CDC #DCCD5C #5CDCCD
tetradic
#CD5CDC #DC8D5C #6BDC5C #5CABDC
square
#CD5CDC #DC8D5C #6BDC5C #5CABDC
split-complementary
#CD5CDC #ABDC5C #5CDC8D
monochromatic
#8E229C #BB2CCE #CD5CDC #DC8EE7 #ECC1F2

Accessibility & contrast

On white

3.41
#CD5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CDC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CDC#FFFFFF#000000##000000
##CD5CDC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582E0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#D06E94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5cdc;
/* rgb */ color: rgb(205, 92, 220);
/* oklch */ color: oklch(66.3% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#df90e7',
    500: '#cd5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cdc;
$custom-light: #df90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cdc",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 292.969,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.20977,
    "h": 322.8
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#CD5CDC
secondary
#B8E2B2
accent
#CC192E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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