#CD5DE1#CD5DE1

#CD5DE1 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.7% C 0.213 H 321.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE1
RGBrgb(205, 93, 225)
HSLhsl(291, 69%, 62%)
HSVhsv(291, 59%, 88%)
CMYKcmyk(8.9%, 58.7%, 0%, 11.8%)
CIE-LABlab(58.27, 62.75, -47.82)
CIE-LCHlch(58.27, 78.90, 322.69°)
OKLaboklab(66.69% 0.1662 -0.133)
OKLCHoklch(66.69% 0.213 321.3)
XYZxyz(42.6803, 26.2461, 74.0374)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE1 #71E15D
analogous
#8B5DE1 #CD5DE1 #E15DB3
triadic
#CD5DE1 #E1CD5D #5DE1CD
tetradic
#CD5DE1 #E18B5D #71E15D #5DB3E1
square
#CD5DE1 #E18B5D #71E15D #5DB3E1
split-complementary
#CD5DE1 #B3E15D #5DE18B
monochromatic
#911FA5 #BD29D7 #CD5DE1 #DD91EB #EDC4F4

Accessibility & contrast

On white

3.36
#CD5DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CD5DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE1#FFFFFF#000000##000000
##CD5DE11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#6B90DE
Tritanopia (blue-blind)
#CF7197
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5de1;
/* rgb */ color: rgb(205, 93, 225);
/* oklch */ color: oklch(66.7% 0.213 321.3);
Tailwind
colors: {
  custom: {
    50: '#df91eb',
    500: '#cd5de1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de1;
$custom-light: #df91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de1",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 290.909,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.21288,
    "h": 321.3
  },
  "luminance": 0.26244
}

Semantic roles & 50–950 ramp

primary
#CD5DE1
secondary
#BCE5B5
accent
#D11531
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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