#CD5FDC#CD5FDC

#CD5FDC is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.205 H 322.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CD5FDC
RGBrgb(205, 95, 220)
HSLhsl(293, 64%, 62%)
HSVhsv(293, 57%, 86%)
CMYKcmyk(6.8%, 56.8%, 0%, 13.7%)
CIE-LABlab(58.35, 60.92, -44.88)
CIE-LCHlch(58.35, 75.66, 323.62°)
OKLaboklab(66.67% 0.1634 -0.1245)
OKLCHoklch(66.67% 0.205 322.7)
XYZxyz(42.1860, 26.3330, 70.5570)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FDC #6EDC5F
analogous
#8F5FDC #CD5FDC #DC5FAD
triadic
#CD5FDC #DCCD5F #5FDCCD
tetradic
#CD5FDC #DC8F5F #6EDC5F #5FADDC
square
#CD5FDC #DC8F5F #6EDC5F #5FADDC
split-complementary
#CD5FDC #ADDC5F #5FDC8F
monochromatic
#8F239E #BD2ED0 #CD5FDC #DD91E7 #ECC3F2

Accessibility & contrast

On white

3.35
#CD5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CD5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FDC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FDC#FFFFFF#000000##000000
##CD5FDC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#D07195
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5fdc;
/* rgb */ color: rgb(205, 95, 220);
/* oklch */ color: oklch(66.7% 0.205 322.7);
Tailwind
colors: {
  custom: {
    50: '#df92e7',
    500: '#cd5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fdc;
$custom-light: #df92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fdc",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 292.8,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.20543,
    "h": 322.7
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#CD5FDC
secondary
#BAE3B4
accent
#CC1A2F
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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