#CD5DCD#CD5DCD

#CD5DCD is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.7% C 0.195 H 327.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CD5DCD
RGBrgb(205, 93, 205)
HSLhsl(300, 53%, 58%)
HSVhsv(300, 55%, 80%)
CMYKcmyk(0%, 54.6%, 0%, 19.6%)
CIE-LABlab(57.29, 59.14, -38.07)
CIE-LCHlch(57.29, 70.34, 327.23°)
OKLaboklab(65.66% 0.1645 -0.1048)
OKLCHoklch(65.66% 0.195 327.5)
XYZxyz(40.1100, 25.2180, 60.5007)
Luminance0.2522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DCD #5DCD5D
analogous
#955DCD #CD5DCD #CD5D95
triadic
#CD5DCD #CDCD5D #5DCDCD
tetradic
#CD5DCD #CD955D #5DCD5D #5D95CD
square
#CD5DCD #CD955D #5DCD5D #5D95CD
split-complementary
#CD5DCD #95CD5D #5DCD95
monochromatic
#862986 #B538B5 #CD5DCD #DB8CDB #EABBEA

Accessibility & contrast

On white

3.47
#CD5DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CD5DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DCD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DCD#FFFFFF#000000##000000
##CD5DCD1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#D36A8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5dcd;
/* rgb */ color: rgb(205, 93, 205);
/* oklch */ color: oklch(65.7% 0.195 327.5);
Tailwind
colors: {
  custom: {
    50: '#df90dc',
    500: '#cd5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dcd;
$custom-light: #df90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dcd",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.19505,
    "h": 327.5
  },
  "luminance": 0.25216
}

Semantic roles & 50–950 ramp

primary
#CD5DCD
secondary
#ADD9AD
accent
#DC4C4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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