#CD5DEF#CD5DEF

#CD5DEF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.226 H 317.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CD5DEF
RGBrgb(205, 93, 239)
HSLhsl(286, 82%, 65%)
HSVhsv(286, 61%, 94%)
CMYKcmyk(14.2%, 61.1%, 0%, 6.3%)
CIE-LABlab(59.01, 65.41, -54.47)
CIE-LCHlch(59.01, 85.12, 320.21°)
OKLaboklab(67.47% 0.1667 -0.1524)
OKLCHoklch(67.47% 0.226 317.6)
XYZxyz(44.6690, 27.0416, 84.5112)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DEF #7FEF5D
analogous
#845DEF #CD5DEF #EF5DC8
triadic
#CD5DEF #EFCD5D #5DEFCD
tetradic
#CD5DEF #EF845D #7FEF5D #5DC8EF
square
#CD5DEF #EF845D #7FEF5D #5DC8EF
split-complementary
#CD5DEF #C8EF5D #5DEF84
monochromatic
#9713BF #BC25E9 #CD5DEF #DE95F5 #EFCCFA

Accessibility & contrast

On white

3.28
#CD5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CD5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DEF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DEF#FFFFFF#000000##000000
##CD5DEF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#CC769E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5def;
/* rgb */ color: rgb(205, 93, 239);
/* oklch */ color: oklch(67.5% 0.226 317.6);
Tailwind
colors: {
  custom: {
    50: '#e091f5',
    500: '#cd5def',
    950: '#000000',
  },
}
SCSS
$custom: #cd5def;
$custom-light: #e091f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5def",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 286.027,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.2258,
    "h": 317.6
  },
  "luminance": 0.2704
}

Semantic roles & 50–950 ramp

primary
#CD5DEF
secondary
#C7EDBB
accent
#DE0739
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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