#CD5ECA#CD5ECA

#CD5ECA is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.191 H 328.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CD5ECA
RGBrgb(205, 94, 202)
HSLhsl(302, 53%, 59%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 54.1%, 1.5%, 19.6%)
CIE-LABlab(57.32, 58.16, -36.31)
CIE-LCHlch(57.32, 68.56, 328.02°)
OKLaboklab(65.64% 0.1629 -0.0997)
OKLCHoklch(65.64% 0.191 328.5)
XYZxyz(39.8397, 25.2513, 58.6412)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ECA #5ECD61
analogous
#985ECD #CD5ECA #CD5E92
triadic
#CD5ECA #CACD5E #5ECACD
tetradic
#CD5ECA #CD985E #5ECD61 #5E92CD
square
#CD5ECA #CD985E #5ECD61 #5E92CD
split-complementary
#CD5ECA #92CD5E #5ECD98
monochromatic
#872A84 #B538B2 #CD5ECA #DC8DD9 #EABBE9

Accessibility & contrast

On white

3.47
#CD5ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CD5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ECA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ECA#FFFFFF#000000##000000
##CD5ECA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#D36A8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5eca;
/* rgb */ color: rgb(205, 94, 202);
/* oklch */ color: oklch(65.6% 0.191 328.5);
Tailwind
colors: {
  custom: {
    50: '#df91da',
    500: '#cd5eca',
    950: '#000000',
  },
}
SCSS
$custom: #cd5eca;
$custom-light: #df91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5eca",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 301.622,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65635,
    "c": 0.19095,
    "h": 328.5
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#CD5ECA
secondary
#ADD9AF
accent
#DC504C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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