#CD5ACD#CD5ACD

#CD5ACD is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.3% C 0.200 H 327.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CD5ACD
RGBrgb(205, 90, 205)
HSLhsl(300, 53%, 58%)
HSVhsv(300, 56%, 80%)
CMYKcmyk(0%, 56.1%, 0%, 19.6%)
CIE-LABlab(56.78, 60.51, -38.86)
CIE-LCHlch(56.78, 71.91, 327.29°)
OKLaboklab(65.29% 0.1684 -0.107)
OKLCHoklch(65.29% 0.2 327.6)
XYZxyz(39.8518, 24.7017, 60.4146)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ACD #5ACD5A
analogous
#935ACD #CD5ACD #CD5A93
triadic
#CD5ACD #CDCD5A #5ACDCD
tetradic
#CD5ACD #CD935A #5ACD5A #5A93CD
square
#CD5ACD #CD935A #5ACD5A #5A93CD
split-complementary
#CD5ACD #93CD5A #5ACD93
monochromatic
#842884 #B336B3 #CD5ACD #DB89DB #E9B8E9

Accessibility & contrast

On white

3.54
#CD5ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CD5ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ACD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ACD#FFFFFF#000000##000000
##CD5ACD1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#D3688B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5acd;
/* rgb */ color: rgb(205, 90, 205);
/* oklch */ color: oklch(65.3% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#df8fdc',
    500: '#cd5acd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5acd;
$custom-light: #df8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5acd",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65287,
    "c": 0.19951,
    "h": 327.6
  },
  "luminance": 0.24699
}

Semantic roles & 50–950 ramp

primary
#CD5ACD
secondary
#AAD8AA
accent
#DD4B4B
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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