#CD5EC0#CD5EC0

#CD5EC0 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.183 H 332.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC0
RGBrgb(205, 94, 192)
HSLhsl(307, 53%, 59%)
HSVhsv(307, 54%, 80%)
CMYKcmyk(0%, 54.1%, 6.3%, 19.6%)
CIE-LABlab(56.87, 56.46, -31.29)
CIE-LCHlch(56.87, 64.55, 331.00°)
OKLaboklab(65.16% 0.1614 -0.0854)
OKLCHoklch(65.16% 0.183 332.1)
XYZxyz(38.6939, 24.7929, 52.6064)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC0 #5ECD6B
analogous
#A25ECD #CD5EC0 #CD5E88
triadic
#CD5EC0 #C0CD5E #5EC0CD
tetradic
#CD5EC0 #CDA25E #5ECD6B #5E88CD
square
#CD5EC0 #CDA25E #5ECD6B #5E88CD
split-complementary
#CD5EC0 #88CD5E #5ECDA2
monochromatic
#872A7C #B538A7 #CD5EC0 #DC8DD2 #EABBE5

Accessibility & contrast

On white

3.52
#CD5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CD5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC0#FFFFFF#000000##000000
##CD5EC01.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC3
Deuteranopia (green-blind)
#7C8EBD
Tritanopia (blue-blind)
#D56687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5ec0;
/* rgb */ color: rgb(205, 94, 192);
/* oklch */ color: oklch(65.2% 0.183 332.1);
Tailwind
colors: {
  custom: {
    50: '#df91d3',
    500: '#cd5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec0;
$custom-light: #df91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec0",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 307.027,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.18256,
    "h": 332.1
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#CD5EC0
secondary
#ADD9B3
accent
#DC5D4C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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