#CD5DC5#CD5DC5

#CD5DC5 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.3% C 0.188 H 330.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CD5DC5
RGBrgb(205, 93, 197)
HSLhsl(304, 53%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 54.6%, 3.9%, 19.6%)
CIE-LABlab(56.92, 57.77, -34.08)
CIE-LCHlch(56.92, 67.07, 329.46°)
OKLaboklab(65.27% 0.1635 -0.0933)
OKLCHoklch(65.27% 0.188 330.3)
XYZxyz(39.1689, 24.8416, 55.5443)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC5 #5DCD65
analogous
#9D5DCD #CD5DC5 #CD5D8D
triadic
#CD5DC5 #C5CD5D #5DC5CD
tetradic
#CD5DC5 #CD9D5D #5DCD65 #5D8DCD
square
#CD5DC5 #CD9D5D #5DCD65 #5D8DCD
split-complementary
#CD5DC5 #8DCD5D #5DCD9D
monochromatic
#862980 #B538AC #CD5DC5 #DB8CD6 #EABBE6

Accessibility & contrast

On white

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

On black

5.97
#CD5DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC5#FFFFFF#000000##000000
##CD5DC51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#798EC2
Tritanopia (blue-blind)
#D46789
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5dc5;
/* rgb */ color: rgb(205, 93, 197);
/* oklch */ color: oklch(65.3% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#df90d7',
    500: '#cd5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc5;
$custom-light: #df90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc5",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 304.286,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65268,
    "c": 0.18824,
    "h": 330.3
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#CD5DC5
secondary
#ADD9B0
accent
#DC564C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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