#CD5EC8#CD5EC8

#CD5EC8 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.189 H 329.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC8
RGBrgb(205, 94, 200)
HSLhsl(303, 53%, 59%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 54.1%, 2.4%, 19.6%)
CIE-LABlab(57.23, 57.82, -35.31)
CIE-LCHlch(57.23, 67.75, 328.59°)
OKLaboklab(65.54% 0.1626 -0.0968)
OKLCHoklch(65.54% 0.189 329.2)
XYZxyz(39.6044, 25.1571, 57.4022)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC8 #5ECD63
analogous
#9A5ECD #CD5EC8 #CD5E90
triadic
#CD5EC8 #C8CD5E #5EC8CD
tetradic
#CD5EC8 #CD9A5E #5ECD63 #5E90CD
square
#CD5EC8 #CD9A5E #5ECD63 #5E90CD
split-complementary
#CD5EC8 #90CD5E #5ECD9A
monochromatic
#872A83 #B538B0 #CD5EC8 #DC8DD8 #EABBE8

Accessibility & contrast

On white

3.48
#CD5EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CD5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC8#FFFFFF#000000##000000
##CD5EC81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#788FC5
Tritanopia (blue-blind)
#D3698A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5ec8;
/* rgb */ color: rgb(205, 94, 200);
/* oklch */ color: oklch(65.5% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#df91d9',
    500: '#cd5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec8;
$custom-light: #df91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec8",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 302.703,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65538,
    "c": 0.18924,
    "h": 329.2
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#CD5EC8
secondary
#ADD9AF
accent
#DC524C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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