#CD5ECC#CD5ECC

#CD5ECC is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.193 H 327.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5ECC
RGBrgb(205, 94, 204)
HSLhsl(301, 53%, 59%)
HSVhsv(301, 54%, 80%)
CMYKcmyk(0%, 54.1%, 0.5%, 19.6%)
CIE-LABlab(57.41, 58.51, -37.30)
CIE-LCHlch(57.41, 69.39, 327.48°)
OKLaboklab(65.73% 0.1631 -0.1026)
OKLCHoklch(65.73% 0.193 327.8)
XYZxyz(40.0780, 25.3466, 59.8964)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ECC #5ECD5F
analogous
#965ECD #CD5ECC #CD5E94
triadic
#CD5ECC #CCCD5E #5ECCCD
tetradic
#CD5ECC #CD965E #5ECD5F #5E94CD
square
#CD5ECC #CD965E #5ECD5F #5E94CD
split-complementary
#CD5ECC #94CD5E #5ECD96
monochromatic
#872A86 #B538B4 #CD5ECC #DC8DDB #EABBEA

Accessibility & contrast

On white

3.46
#CD5ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CD5ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ECC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ECC#FFFFFF#000000##000000
##CD5ECC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#778FC9
Tritanopia (blue-blind)
#D36A8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5ecc;
/* rgb */ color: rgb(205, 94, 204);
/* oklch */ color: oklch(65.7% 0.193 327.8);
Tailwind
colors: {
  custom: {
    50: '#df91dc',
    500: '#cd5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ecc;
$custom-light: #df91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ecc",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 300.541,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65732,
    "c": 0.19268,
    "h": 327.8
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#CD5ECC
secondary
#ADD9AE
accent
#DC4D4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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