#CD5CD7#CD5CD7

#CD5CD7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.0% C 0.205 H 324.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD7
RGBrgb(205, 92, 215)
HSLhsl(295, 61%, 60%)
HSVhsv(295, 57%, 84%)
CMYKcmyk(4.7%, 57.2%, 0%, 15.7%)
CIE-LABlab(57.60, 61.37, -43.24)
CIE-LCHlch(57.60, 75.08, 324.83°)
OKLaboklab(66.04% 0.1668 -0.1197)
OKLCHoklch(66.04% 0.205 324.3)
XYZxyz(41.2687, 25.5420, 67.0332)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD7 #66D75C
analogous
#8F5CD7 #CD5CD7 #D75CA3
triadic
#CD5CD7 #D7CD5C #5CD7CD
tetradic
#CD5CD7 #D78F5C #66D75C #5CA3D7
square
#CD5CD7 #D78F5C #66D75C #5CA3D7
split-complementary
#CD5CD7 #A3D75C #5CD78F
monochromatic
#8B2494 #B930C5 #CD5CD7 #DC8DE3 #EBBEEF

Accessibility & contrast

On white

3.44
#CD5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CD5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD7#FFFFFF#000000##000000
##CD5CD71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#D16D91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd7;
/* rgb */ color: rgb(205, 92, 215);
/* oklch */ color: oklch(66.0% 0.205 324.3);
Tailwind
colors: {
  custom: {
    50: '#df90e4',
    500: '#cd5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd7;
$custom-light: #df90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd7",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 295.122,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.20531,
    "h": 324.3
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#CD5CD7
secondary
#B4DFB0
accent
#C81D2B
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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