#CD5CD1#CD5CD1

#CD5CD1 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.7% C 0.200 H 326.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD1
RGBrgb(205, 92, 209)
HSLhsl(298, 56%, 59%)
HSVhsv(298, 56%, 82%)
CMYKcmyk(1.9%, 56%, 0%, 18%)
CIE-LABlab(57.31, 60.30, -40.31)
CIE-LCHlch(57.31, 72.53, 326.24°)
OKLaboklab(65.73% 0.1663 -0.1112)
OKLCHoklch(65.73% 0.2 326.2)
XYZxyz(40.5118, 25.2392, 63.0470)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD1 #60D15C
analogous
#935CD1 #CD5CD1 #D15C9B
triadic
#CD5CD1 #D1CD5C #5CD1CD
tetradic
#CD5CD1 #D1935C #60D15C #5C9BD1
square
#CD5CD1 #D1935C #60D15C #5C9BD1
split-complementary
#CD5CD1 #9BD15C #5CD193
monochromatic
#88278B #B635BB #CD5CD1 #DC8CDE #EABBEC

Accessibility & contrast

On white

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

On black

6.05
#CD5CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD1#FFFFFF#000000##000000
##CD5CD11.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#738FCE
Tritanopia (blue-blind)
#D26B8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd1;
/* rgb */ color: rgb(205, 92, 209);
/* oklch */ color: oklch(65.7% 0.200 326.2);
Tailwind
colors: {
  custom: {
    50: '#df90df',
    500: '#cd5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd1;
$custom-light: #df90df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd1",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 297.949,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65733,
    "c": 0.20002,
    "h": 326.2
  },
  "luminance": 0.25237
}

Semantic roles & 50–950 ramp

primary
#CD5CD1
secondary
#AFDBAD
accent
#DF494E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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