#CD5BDE#CD5BDE

#CD5BDE is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.3% C 0.213 H 322.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CD5BDE
RGBrgb(205, 91, 222)
HSLhsl(292, 66%, 61%)
HSVhsv(292, 59%, 87%)
CMYKcmyk(7.7%, 59%, 0%, 12.9%)
CIE-LABlab(57.79, 63.10, -46.90)
CIE-LCHlch(57.79, 78.62, 323.38°)
OKLaboklab(66.29% 0.1685 -0.1303)
OKLCHoklch(66.29% 0.213 322.3)
XYZxyz(42.1014, 25.7374, 71.8433)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BDE #6CDE5B
analogous
#8C5BDE #CD5BDE #DE5BAE
triadic
#CD5BDE #DECD5B #5BDECD
tetradic
#CD5BDE #DE8C5B #6CDE5B #5BAEDE
square
#CD5BDE #DE8C5B #6CDE5B #5BAEDE
split-complementary
#CD5BDE #AEDE5B #5BDE8C
monochromatic
#8E209F #BC2AD2 #CD5BDE #DD8EE8 #ECC1F3

Accessibility & contrast

On white

3.42
#CD5BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CD5BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BDE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BDE#FFFFFF#000000##000000
##CD5BDE1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#D06E94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5bde;
/* rgb */ color: rgb(205, 91, 222);
/* oklch */ color: oklch(66.3% 0.213 322.3);
Tailwind
colors: {
  custom: {
    50: '#df90e9',
    500: '#cd5bde',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bde;
$custom-light: #df90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bde",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 292.214,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.213,
    "h": 322.3
  },
  "luminance": 0.25735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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