#CD5FD7#CD5FD7

#CD5FD7 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.4% C 0.201 H 324.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD7
RGBrgb(205, 95, 215)
HSLhsl(295, 60%, 61%)
HSVhsv(295, 56%, 84%)
CMYKcmyk(4.7%, 55.8%, 0%, 15.7%)
CIE-LABlab(58.11, 60.00, -42.45)
CIE-LCHlch(58.11, 73.50, 324.72°)
OKLaboklab(66.41% 0.163 -0.1174)
OKLCHoklch(66.41% 0.201 324.2)
XYZxyz(41.5337, 26.0721, 67.1215)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD7 #69D75F
analogous
#915FD7 #CD5FD7 #D75FA5
triadic
#CD5FD7 #D7CD5F #5FD7CD
tetradic
#CD5FD7 #D7915F #69D75F #5FA5D7
square
#CD5FD7 #D7915F #69D75F #5FA5D7
split-complementary
#CD5FD7 #A5D75F #5FD791
monochromatic
#8D2696 #BB32C7 #CD5FD7 #DC90E3 #ECC1EF

Accessibility & contrast

On white

3.38
#CD5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CD5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD7#FFFFFF#000000##000000
##CD5FD71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DB
Deuteranopia (green-blind)
#7290D4
Tritanopia (blue-blind)
#D16F92
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5fd7;
/* rgb */ color: rgb(205, 95, 215);
/* oklch */ color: oklch(66.4% 0.201 324.2);
Tailwind
colors: {
  custom: {
    50: '#df92e4',
    500: '#cd5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd7;
$custom-light: #df92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd7",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 295,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.2009,
    "h": 324.2
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#CD5FD7
secondary
#B6E0B2
accent
#C81E2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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