#CD5FD2#CD5FD2

#CD5FD2 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.2% C 0.196 H 325.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD2
RGBrgb(205, 95, 210)
HSLhsl(297, 56%, 60%)
HSVhsv(297, 55%, 82%)
CMYKcmyk(2.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(57.86, 59.10, -40.00)
CIE-LCHlch(57.86, 71.37, 325.91°)
OKLaboklab(66.16% 0.1625 -0.1103)
OKLCHoklch(66.16% 0.196 325.8)
XYZxyz(40.9010, 25.8190, 63.7895)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD2 #64D25F
analogous
#935FD2 #CD5FD2 #D25F9E
triadic
#CD5FD2 #D2CD5F #5FD2CD
tetradic
#CD5FD2 #D2935F #64D25F #5F9ED2
square
#CD5FD2 #D2935F #64D25F #5F9ED2
split-complementary
#CD5FD2 #9ED25F #5FD293
monochromatic
#8A288F #B836BE #CD5FD2 #DC8FDF #EBBFED

Accessibility & contrast

On white

3.41
#CD5FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD2#FFFFFF#000000##000000
##CD5FD21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#7490CF
Tritanopia (blue-blind)
#D26D90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5fd2;
/* rgb */ color: rgb(205, 95, 210);
/* oklch */ color: oklch(66.2% 0.196 325.8);
Tailwind
colors: {
  custom: {
    50: '#df92e0',
    500: '#cd5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd2;
$custom-light: #df92e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd2",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 297.391,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66157,
    "c": 0.19643,
    "h": 325.8
  },
  "luminance": 0.25817
}

Semantic roles & 50–950 ramp

primary
#CD5FD2
secondary
#B2DDB0
accent
#DF484F
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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