#CD5FD4#CD5FD4

#CD5FD4 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.3% C 0.198 H 325.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD4
RGBrgb(205, 95, 212)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 55%, 83%)
CMYKcmyk(3.3%, 55.2%, 0%, 16.9%)
CIE-LABlab(57.96, 59.46, -40.98)
CIE-LCHlch(57.96, 72.22, 325.43°)
OKLaboklab(66.26% 0.1627 -0.1132)
OKLCHoklch(66.26% 0.198 325.2)
XYZxyz(41.1518, 25.9193, 65.1099)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD4 #66D45F
analogous
#925FD4 #CD5FD4 #D45FA1
triadic
#CD5FD4 #D4CD5F #5FD4CD
tetradic
#CD5FD4 #D4925F #66D45F #5FA1D4
square
#CD5FD4 #D4925F #66D45F #5FA1D4
split-complementary
#CD5FD4 #A1D45F #5FD492
monochromatic
#8B2791 #B934C2 #CD5FD4 #DC8FE1 #EBBFEE

Accessibility & contrast

On white

3.40
#CD5FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD5FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD4#FFFFFF#000000##000000
##CD5FD41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D8
Deuteranopia (green-blind)
#7390D1
Tritanopia (blue-blind)
#D16E91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5fd4;
/* rgb */ color: rgb(205, 95, 212);
/* oklch */ color: oklch(66.3% 0.198 325.2);
Tailwind
colors: {
  custom: {
    50: '#df92e1',
    500: '#cd5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd4;
$custom-light: #df92e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 296.41,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.19821,
    "h": 325.2
  },
  "luminance": 0.25917
}

Semantic roles & 50–950 ramp

primary
#CD5FD4
secondary
#B4DEB1
accent
#C5202A
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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