#CD5ECE#CD5ECE

#CD5ECE is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.194 H 327.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD5ECE
RGBrgb(205, 94, 206)
HSLhsl(299, 53%, 59%)
HSVhsv(299, 54%, 81%)
CMYKcmyk(0.5%, 54.4%, 0%, 19.2%)
CIE-LABlab(57.50, 58.86, -38.29)
CIE-LCHlch(57.50, 70.22, 326.95°)
OKLaboklab(65.83% 0.1634 -0.1054)
OKLCHoklch(65.83% 0.194 327.2)
XYZxyz(40.3194, 25.4431, 61.1679)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ECE #5FCE5E
analogous
#955ECE #CD5ECE #CE5E97
triadic
#CD5ECE #CECD5E #5ECECD
tetradic
#CD5ECE #CE955E #5FCE5E #5E97CE
square
#CD5ECE #CE955E #5FCE5E #5E97CE
split-complementary
#CD5ECE #97CE5E #5ECE95
monochromatic
#872988 #B638B7 #CD5ECE #DC8DDC #EABCEB

Accessibility & contrast

On white

3.45
#CD5ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CD5ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ECE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ECE#FFFFFF#000000##000000
##CD5ECE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#768FCB
Tritanopia (blue-blind)
#D26B8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5ece;
/* rgb */ color: rgb(205, 94, 206);
/* oklch */ color: oklch(65.8% 0.194 327.2);
Tailwind
colors: {
  custom: {
    50: '#df91dd',
    500: '#cd5ece',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ece;
$custom-light: #df91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ece",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 299.464,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.19441,
    "h": 327.2
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#CD5ECE
secondary
#AEDAAE
accent
#DD4B4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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