#CD5FC6#CD5FC6

#CD5FC6 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.186 H 329.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC6
RGBrgb(205, 95, 198)
HSLhsl(304, 52%, 59%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 53.7%, 3.4%, 19.6%)
CIE-LABlab(57.31, 57.01, -34.04)
CIE-LCHlch(57.31, 66.40, 329.16°)
OKLaboklab(65.57% 0.161 -0.0932)
OKLCHoklch(65.57% 0.186 329.9)
XYZxyz(39.4617, 25.2433, 56.2091)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC6 #5FCD66
analogous
#9D5FCD #CD5FC6 #CD5F8F
triadic
#CD5FC6 #C6CD5F #5FC6CD
tetradic
#CD5FC6 #CD9D5F #5FCD66 #5F8FCD
square
#CD5FC6 #CD9D5F #5FCD66 #5F8FCD
split-complementary
#CD5FC6 #8FCD5F #5FCD9D
monochromatic
#872A81 #B639AE #CD5FC6 #DC8ED7 #EABCE7

Accessibility & contrast

On white

3.47
#CD5FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CD5FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC6#FFFFFF#000000##000000
##CD5FC61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C9
Deuteranopia (green-blind)
#7A8FC3
Tritanopia (blue-blind)
#D4698A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5fc6;
/* rgb */ color: rgb(205, 95, 198);
/* oklch */ color: oklch(65.6% 0.186 329.9);
Tailwind
colors: {
  custom: {
    50: '#df91d7',
    500: '#cd5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc6;
$custom-light: #df91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc6",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 303.818,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6557,
    "c": 0.18601,
    "h": 329.9
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#CD5FC6
secondary
#AEDAB1
accent
#DC554C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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