#CD5DFE#CD5DFE

#CD5DFE is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.240 H 313.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CD5DFE
RGBrgb(205, 93, 254)
HSLhsl(282, 99%, 68%)
HSVhsv(282, 63%, 100%)
CMYKcmyk(19.3%, 63.4%, 0%, 0.4%)
CIE-LABlab(59.86, 68.35, -61.44)
CIE-LCHlch(59.86, 91.91, 318.05°)
OKLaboklab(68.36% 0.1665 -0.1727)
OKLCHoklch(68.36% 0.24 313.9)
XYZxyz(46.9776, 27.9650, 96.6699)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DFE #8EFE5D
analogous
#7C5DFE #CD5DFE #FE5DDF
triadic
#CD5DFE #FECD5D #5DFECD
tetradic
#CD5DFE #FE7C5D #8EFE5D #5DDFFE
square
#CD5DFE #FE7C5D #8EFE5D #5DDFFE
split-complementary
#CD5DFE #DFFE5D #5DFE7C
monochromatic
#9C01DF #BA20FE #CD5DFE #E09AFE #F3D7FF

Accessibility & contrast

On white

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

On black

6.59
#CD5DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DFE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DFE#FFFFFF#000000##000000
##CD5DFE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#108AFF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#C97CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5dfe;
/* rgb */ color: rgb(205, 93, 254);
/* oklch */ color: oklch(68.4% 0.240 313.9);
Tailwind
colors: {
  custom: {
    50: '#e091ff',
    500: '#cd5dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dfe;
$custom-light: #e091ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dfe",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 281.739,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.23989,
    "h": 313.9
  },
  "luminance": 0.27964
}

Semantic roles & 50–950 ramp

primary
#CD5DFE
secondary
#D2F4C3
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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