#CD5FD5#CD5FD5

#CD5FD5 is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.3% C 0.199 H 324.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD5
RGBrgb(205, 95, 213)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 55%, 84%)
CMYKcmyk(3.8%, 55.4%, 0%, 16.5%)
CIE-LABlab(58.01, 59.64, -41.47)
CIE-LCHlch(58.01, 72.64, 325.19°)
OKLaboklab(66.31% 0.1628 -0.1146)
OKLCHoklch(66.31% 0.199 324.9)
XYZxyz(41.2783, 25.9699, 65.7763)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD5 #67D55F
analogous
#925FD5 #CD5FD5 #D55FA2
triadic
#CD5FD5 #D5CD5F #5FD5CD
tetradic
#CD5FD5 #D5925F #67D55F #5FA2D5
square
#CD5FD5 #D5925F #67D55F #5FA2D5
split-complementary
#CD5FD5 #A2D55F #5FD592
monochromatic
#8C2793 #BA33C3 #CD5FD5 #DC8FE2 #EBC0EE

Accessibility & contrast

On white

3.39
#CD5FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CD5FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD5#FFFFFF#000000##000000
##CD5FD51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5fd5;
/* rgb */ color: rgb(205, 95, 213);
/* oklch */ color: oklch(66.3% 0.199 324.9);
Tailwind
colors: {
  custom: {
    50: '#df92e2',
    500: '#cd5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd5;
$custom-light: #df92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 295.932,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.1991,
    "h": 324.9
  },
  "luminance": 0.25968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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