#CD5BC4#CD5BC4

#CD5BC4 is a light, vivid purple. Relative luminance 0.244; OKLCH L 65.0% C 0.190 H 330.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CD5BC4
RGBrgb(205, 91, 196)
HSLhsl(305, 53%, 58%)
HSVhsv(305, 56%, 80%)
CMYKcmyk(0%, 55.6%, 4.4%, 19.6%)
CIE-LABlab(56.53, 58.52, -34.11)
CIE-LCHlch(56.53, 67.73, 329.76°)
OKLaboklab(64.97% 0.166 -0.0934)
OKLCHoklch(64.97% 0.19 330.6)
XYZxyz(38.8815, 24.4494, 54.8851)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BC4 #5BCD64
analogous
#9D5BCD #CD5BC4 #CD5B8B
triadic
#CD5BC4 #C4CD5B #5BC4CD
tetradic
#CD5BC4 #CD9D5B #5BCD64 #5B8BCD
square
#CD5BC4 #CD9D5B #5BCD64 #5B8BCD
split-complementary
#CD5BC4 #8BCD5B #5BCD9D
monochromatic
#85297E #B437AA #CD5BC4 #DB8AD5 #EAB9E6

Accessibility & contrast

On white

3.57
#CD5BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CD5BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BC4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BC4#FFFFFF#000000##000000
##CD5BC41.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#D46587
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5bc4;
/* rgb */ color: rgb(205, 91, 196);
/* oklch */ color: oklch(65.0% 0.190 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8fd6',
    500: '#cd5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bc4;
$custom-light: #df8fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bc4",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 304.737,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.19044,
    "h": 330.6
  },
  "luminance": 0.24447
}

Semantic roles & 50–950 ramp

primary
#CD5BC4
secondary
#ABD9AF
accent
#DD574B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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