#CD5EC2#CD5EC2

#CD5EC2 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.184 H 331.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC2
RGBrgb(205, 94, 194)
HSLhsl(306, 53%, 59%)
HSVhsv(306, 54%, 80%)
CMYKcmyk(0%, 54.1%, 5.4%, 19.6%)
CIE-LABlab(56.96, 56.80, -32.30)
CIE-LCHlch(56.96, 65.34, 330.37°)
OKLaboklab(65.25% 0.1617 -0.0882)
OKLCHoklch(65.25% 0.184 331.4)
XYZxyz(38.9169, 24.8822, 53.7814)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC2 #5ECD69
analogous
#A05ECD #CD5EC2 #CD5E8A
triadic
#CD5EC2 #C2CD5E #5EC2CD
tetradic
#CD5EC2 #CDA05E #5ECD69 #5E8ACD
square
#CD5EC2 #CDA05E #5ECD69 #5E8ACD
split-complementary
#CD5EC2 #8ACD5E #5ECDA0
monochromatic
#872A7E #B538A9 #CD5EC2 #DC8DD4 #EABBE5

Accessibility & contrast

On white

3.51
#CD5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CD5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC2#FFFFFF#000000##000000
##CD5EC21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#7B8EBF
Tritanopia (blue-blind)
#D46787
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5ec2;
/* rgb */ color: rgb(205, 94, 194);
/* oklch */ color: oklch(65.3% 0.184 331.4);
Tailwind
colors: {
  custom: {
    50: '#df91d4',
    500: '#cd5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec2;
$custom-light: #df91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec2",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 305.946,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65253,
    "c": 0.1842,
    "h": 331.4
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#CD5EC2
secondary
#ADD9B2
accent
#DC5A4C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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