#CD5ECD#CD5ECD

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

Color values

HEX#CD5ECD
RGBrgb(205, 94, 205)
HSLhsl(300, 53%, 59%)
HSVhsv(300, 54%, 80%)
CMYKcmyk(0%, 54.1%, 0%, 19.6%)
CIE-LABlab(57.46, 58.68, -37.80)
CIE-LCHlch(57.46, 69.80, 327.21°)
OKLaboklab(65.78% 0.1632 -0.104)
OKLCHoklch(65.78% 0.194 327.5)
XYZxyz(40.1983, 25.3947, 60.5301)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ECD #5ECD5E
analogous
#955ECD #CD5ECD #CD5E95
triadic
#CD5ECD #CDCD5E #5ECDCD
tetradic
#CD5ECD #CD955E #5ECD5E #5E95CD
square
#CD5ECD #CD955E #5ECD5E #5E95CD
split-complementary
#CD5ECD #95CD5E #5ECD95
monochromatic
#872A87 #B538B5 #CD5ECD #DC8DDC #EABBEA

Accessibility & contrast

On white

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

On black

6.08
#CD5ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ECD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ECD#FFFFFF#000000##000000
##CD5ECD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#D36B8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5ecd;
/* rgb */ color: rgb(205, 94, 205);
/* oklch */ color: oklch(65.8% 0.194 327.5);
Tailwind
colors: {
  custom: {
    50: '#df91dc',
    500: '#cd5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ecd;
$custom-light: #df91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ecd",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.19355,
    "h": 327.5
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#CD5ECD
secondary
#ADD9AD
accent
#DC4C4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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