#CD5CFD#CD5CFD

#CD5CFD is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.2% C 0.240 H 314.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CD5CFD
RGBrgb(205, 92, 253)
HSLhsl(282, 98%, 68%)
HSVhsv(282, 64%, 99%)
CMYKcmyk(19%, 63.6%, 0%, 0.8%)
CIE-LABlab(59.64, 68.59, -61.23)
CIE-LCHlch(59.64, 91.94, 318.25°)
OKLaboklab(68.18% 0.1676 -0.1721)
OKLCHoklch(68.18% 0.24 314.2)
XYZxyz(46.7307, 27.7268, 95.7996)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CFD #8CFD5C
analogous
#7D5CFD #CD5CFD #FD5CDC
triadic
#CD5CFD #FDCD5C #5CFDCD
tetradic
#CD5CFD #FD7D5C #8CFD5C #5CDCFD
square
#CD5CFD #FD7D5C #8CFD5C #5CDCFD
split-complementary
#CD5CFD #DCFD5C #5CFD7D
monochromatic
#9B03DC #BA20FC #CD5CFD #E098FE #F2D5FE

Accessibility & contrast

On white

3.21
#CD5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CD5CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CFD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CFD#FFFFFF#000000##000000
##CD5CFD1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E89FF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#C97BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5cfd;
/* rgb */ color: rgb(205, 92, 253);
/* oklch */ color: oklch(68.2% 0.240 314.2);
Tailwind
colors: {
  custom: {
    50: '#e091ff',
    500: '#cd5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cfd;
$custom-light: #e091ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cfd",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 282.112,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68182,
    "c": 0.24025,
    "h": 314.2
  },
  "luminance": 0.27725
}

Semantic roles & 50–950 ramp

primary
#CD5CFD
secondary
#D0F3C1
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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