#CD5DE7#CD5DE7

#CD5DE7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.218 H 319.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE7
RGBrgb(205, 93, 231)
HSLhsl(289, 74%, 64%)
HSVhsv(289, 60%, 91%)
CMYKcmyk(11.3%, 59.7%, 0%, 9.4%)
CIE-LABlab(58.58, 63.88, -50.69)
CIE-LCHlch(58.58, 81.55, 321.57°)
OKLaboklab(67.02% 0.1665 -0.1413)
OKLCHoklch(67.02% 0.218 319.7)
XYZxyz(43.5132, 26.5793, 78.4241)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE7 #77E75D
analogous
#885DE7 #CD5DE7 #E75DBC
triadic
#CD5DE7 #E7CD5D #5DE7CD
tetradic
#CD5DE7 #E7885D #77E75D #5DBCE7
square
#CD5DE7 #E7885D #77E75D #5DBCE7
split-complementary
#CD5DE7 #BCE75D #5DE788
monochromatic
#931AB0 #BD28DF #CD5DE7 #DD92EF #EEC8F7

Accessibility & contrast

On white

3.33
#CD5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CD5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE7#FFFFFF#000000##000000
##CD5DE71.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#CE739A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5de7;
/* rgb */ color: rgb(205, 93, 231);
/* oklch */ color: oklch(67.0% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#df91ef',
    500: '#cd5de7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de7;
$custom-light: #df91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de7",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 288.696,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.21838,
    "h": 319.7
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#CD5DE7
secondary
#C1E8B7
accent
#D60F35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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