#CD5DEC#CD5DEC

#CD5DEC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.223 H 318.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CD5DEC
RGBrgb(205, 93, 236)
HSLhsl(287, 79%, 65%)
HSVhsv(287, 61%, 93%)
CMYKcmyk(13.1%, 60.6%, 0%, 7.5%)
CIE-LABlab(58.85, 64.83, -53.06)
CIE-LCHlch(58.85, 83.77, 320.70°)
OKLaboklab(67.3% 0.1666 -0.1482)
OKLCHoklch(67.3% 0.223 318.3)
XYZxyz(44.2294, 26.8658, 82.1964)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DEC #7CEC5D
analogous
#865DEC #CD5DEC #EC5DC4
triadic
#CD5DEC #ECCD5D #5DECCD
tetradic
#CD5DEC #EC865D #7CEC5D #5DC4EC
square
#CD5DEC #EC865D #7CEC5D #5DC4EC
split-complementary
#CD5DEC #C4EC5D #5DEC86
monochromatic
#9616B9 #BC26E6 #CD5DEC #DE94F2 #EFCBF9

Accessibility & contrast

On white

3.30
#CD5DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CD5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DEC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DEC#FFFFFF#000000##000000
##CD5DEC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#CD759C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5dec;
/* rgb */ color: rgb(205, 93, 236);
/* oklch */ color: oklch(67.3% 0.223 318.3);
Tailwind
colors: {
  custom: {
    50: '#df91f3',
    500: '#cd5dec',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dec;
$custom-light: #df91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dec",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 286.993,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67303,
    "c": 0.22301,
    "h": 318.3
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#CD5DEC
secondary
#C4EBBA
accent
#DB0A38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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