#CD5BC7#CD5BC7

#CD5BC7 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.193 H 329.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CD5BC7
RGBrgb(205, 91, 199)
HSLhsl(303, 53%, 58%)
HSVhsv(303, 56%, 80%)
CMYKcmyk(0%, 55.6%, 2.9%, 19.6%)
CIE-LABlab(56.67, 59.02, -35.61)
CIE-LCHlch(56.67, 68.94, 328.90°)
OKLaboklab(65.11% 0.1664 -0.0977)
OKLCHoklch(65.11% 0.193 329.6)
XYZxyz(39.2263, 24.5874, 56.7015)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BC7 #5BCD61
analogous
#9A5BCD #CD5BC7 #CD5B8E
triadic
#CD5BC7 #C7CD5B #5BC7CD
tetradic
#CD5BC7 #CD9A5B #5BCD61 #5B8ECD
square
#CD5BC7 #CD9A5B #5BCD61 #5B8ECD
split-complementary
#CD5BC7 #8ECD5B #5BCD9A
monochromatic
#852980 #B437AD #CD5BC7 #DB8AD7 #EAB9E7

Accessibility & contrast

On white

3.55
#CD5BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CD5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BC7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BC7#FFFFFF#000000##000000
##CD5BC71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#778EC4
Tritanopia (blue-blind)
#D46689
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5bc7;
/* rgb */ color: rgb(205, 91, 199);
/* oklch */ color: oklch(65.1% 0.193 329.6);
Tailwind
colors: {
  custom: {
    50: '#df8fd8',
    500: '#cd5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bc7;
$custom-light: #df8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bc7",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 303.158,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65114,
    "c": 0.19294,
    "h": 329.6
  },
  "luminance": 0.24585
}

Semantic roles & 50–950 ramp

primary
#CD5BC7
secondary
#ABD9AE
accent
#DD534B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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