#CD6DEC#CD6DEC

#CD6DEC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.3% C 0.200 H 317.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD6DEC
RGBrgb(205, 109, 236)
HSLhsl(285, 77%, 68%)
HSVhsv(285, 54%, 93%)
CMYKcmyk(13.1%, 53.8%, 0%, 7.5%)
CIE-LABlab(61.63, 57.33, -48.64)
CIE-LCHlch(61.63, 75.18, 319.69°)
OKLaboklab(69.34% 0.1468 -0.1355)
OKLCHoklch(69.34% 0.2 317.3)
XYZxyz(45.7836, 29.9742, 82.7145)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DEC #8CEC6D
analogous
#8D6DEC #CD6DEC #EC6DCC
triadic
#CD6DEC #ECCD6D #6DECCD
tetradic
#CD6DEC #EC8D6D #8CEC6D #6DCCEC
square
#CD6DEC #EC8D6D #8CEC6D #6DCCEC
split-complementary
#CD6DEC #CCEC6D #6DEC8D
monochromatic
#9B1AC5 #BA37E5 #CD6DEC #E0A3F3 #F2D9FA

Accessibility & contrast

On white

3.00
#CD6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6DEC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DEC#FFFFFF#000000##000000
##CD6DEC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#CC81A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6dec;
/* rgb */ color: rgb(205, 109, 236);
/* oklch */ color: oklch(69.3% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#df9bf2',
    500: '#cd6dec',
    950: '#000000',
  },
}
SCSS
$custom: #cd6dec;
$custom-light: #df9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6dec",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 285.354,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.19975,
    "h": 317.3
  },
  "luminance": 0.29973
}

Semantic roles & 50–950 ramp

primary
#CD6DEC
secondary
#D0EEC7
accent
#D90C3E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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