#CD5CDB#CD5CDB

#CD5CDB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.3% C 0.209 H 323.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CD5CDB
RGBrgb(205, 92, 219)
HSLhsl(293, 64%, 61%)
HSVhsv(293, 58%, 86%)
CMYKcmyk(6.4%, 58%, 0%, 14.1%)
CIE-LABlab(57.80, 62.10, -45.19)
CIE-LCHlch(57.80, 76.80, 323.96°)
OKLaboklab(66.25% 0.1671 -0.1253)
OKLCHoklch(66.25% 0.209 323.1)
XYZxyz(41.7889, 25.7501, 69.7732)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CDB #6ADB5C
analogous
#8D5CDB #CD5CDB #DB5CA9
triadic
#CD5CDB #DBCD5C #5CDBCD
tetradic
#CD5CDB #DB8D5C #6ADB5C #5CA9DB
square
#CD5CDB #DB8D5C #6ADB5C #5CA9DB
split-complementary
#CD5CDB #A9DB5C #5CDB8D
monochromatic
#8D229A #BB2DCD #CD5CDB #DC8EE6 #ECC0F1

Accessibility & contrast

On white

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

On black

6.15
#CD5CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CDB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CDB#FFFFFF#000000##000000
##CD5CDB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#6E8FD8
Tritanopia (blue-blind)
#D06E93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5cdb;
/* rgb */ color: rgb(205, 92, 219);
/* oklch */ color: oklch(66.3% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#df90e6',
    500: '#cd5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cdb;
$custom-light: #df90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cdb",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 293.386,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.20888,
    "h": 323.1
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#CD5CDB
secondary
#B7E1B1
accent
#CC1A2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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