#CD5CDE#CD5CDE

#CD5CDE is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.4% C 0.212 H 322.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5CDE
RGBrgb(205, 92, 222)
HSLhsl(292, 66%, 62%)
HSVhsv(292, 59%, 87%)
CMYKcmyk(7.7%, 58.6%, 0%, 12.9%)
CIE-LABlab(57.95, 62.65, -46.64)
CIE-LCHlch(57.95, 78.10, 323.34°)
OKLaboklab(66.41% 0.1673 -0.1295)
OKLCHoklch(66.41% 0.212 322.2)
XYZxyz(42.1874, 25.9095, 71.8719)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CDE #6DDE5C
analogous
#8C5CDE #CD5CDE #DE5CAE
triadic
#CD5CDE #DECD5C #5CDECD
tetradic
#CD5CDE #DE8C5C #6DDE5C #5CAEDE
square
#CD5CDE #DE8C5C #6DDE5C #5CAEDE
split-complementary
#CD5CDE #AEDE5C #5CDE8C
monochromatic
#8F209F #BC2BD2 #CD5CDE #DD8FE8 #ECC2F3

Accessibility & contrast

On white

3.40
#CD5CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD5CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CDE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CDE#FFFFFF#000000##000000
##CD5CDE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#D06F95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5cde;
/* rgb */ color: rgb(205, 92, 222);
/* oklch */ color: oklch(66.4% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#df90e9',
    500: '#cd5cde',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cde;
$custom-light: #df90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cde",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 292.154,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.21158,
    "h": 322.2
  },
  "luminance": 0.25907
}

Semantic roles & 50–950 ramp

primary
#CD5CDE
secondary
#B9E3B3
accent
#CE172F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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