#CD5DFD#CD5DFD

#CD5DFD is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.3% C 0.239 H 314.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CD5DFD
RGBrgb(205, 93, 253)
HSLhsl(282, 98%, 68%)
HSVhsv(282, 63%, 99%)
CMYKcmyk(19%, 63.2%, 0%, 0.8%)
CIE-LABlab(59.80, 68.16, -60.98)
CIE-LCHlch(59.80, 91.45, 318.18°)
OKLaboklab(68.3% 0.1665 -0.1714)
OKLCHoklch(68.3% 0.239 314.2)
XYZxyz(46.8179, 27.9012, 95.8287)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DFD #8DFD5D
analogous
#7D5DFD #CD5DFD #FD5DDD
triadic
#CD5DFD #FDCD5D #5DFDCD
tetradic
#CD5DFD #FD7D5D #8DFD5D #5DDDFD
square
#CD5DFD #FD7D5D #8DFD5D #5DDDFD
split-complementary
#CD5DFD #DDFD5D #5DFD7D
monochromatic
#9B03DD #BA21FC #CD5DFD #E099FE #F2D6FE

Accessibility & contrast

On white

3.19
#CD5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CD5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DFD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DFD#FFFFFF#000000##000000
##CD5DFD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#148AFF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#C97BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5dfd;
/* rgb */ color: rgb(205, 93, 253);
/* oklch */ color: oklch(68.3% 0.239 314.2);
Tailwind
colors: {
  custom: {
    50: '#e091ff',
    500: '#cd5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dfd;
$custom-light: #e091ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dfd",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 282,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68296,
    "c": 0.23895,
    "h": 314.2
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#CD5DFD
secondary
#D1F4C2
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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