#CD5CED#CD5CED

#CD5CED is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.225 H 318.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5CED
RGBrgb(205, 92, 237)
HSLhsl(287, 80%, 65%)
HSVhsv(287, 61%, 93%)
CMYKcmyk(13.5%, 61.2%, 0%, 7.1%)
CIE-LABlab(58.74, 65.47, -53.79)
CIE-LCHlch(58.74, 84.73, 320.60°)
OKLaboklab(67.24% 0.1678 -0.1504)
OKLCHoklch(67.24% 0.225 318.1)
XYZxyz(44.2879, 26.7497, 82.9347)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CED #7CED5C
analogous
#855CED #CD5CED #ED5CC4
triadic
#CD5CED #EDCD5C #5CEDCD
tetradic
#CD5CED #ED855C #7CED5C #5CC4ED
square
#CD5CED #ED855C #7CED5C #5CC4ED
split-complementary
#CD5CED #C4ED5C #5CED85
monochromatic
#9615BA #BC25E7 #CD5CED #DE93F3 #EFCAF9

Accessibility & contrast

On white

3.31
#CD5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CED
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CED#FFFFFF#000000##000000
##CD5CED1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F1
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#CC759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5ced;
/* rgb */ color: rgb(205, 92, 237);
/* oklch */ color: oklch(67.2% 0.225 318.1);
Tailwind
colors: {
  custom: {
    50: '#e090f3',
    500: '#cd5ced',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ced;
$custom-light: #e090f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ced",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 286.759,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67243,
    "c": 0.22531,
    "h": 318.1
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#CD5CED
secondary
#C4EBB9
accent
#DC0938
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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