#CD6CEE#CD6CEE

#CD6CEE is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.3% C 0.203 H 316.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD6CEE
RGBrgb(205, 108, 238)
HSLhsl(285, 79%, 68%)
HSVhsv(285, 55%, 93%)
CMYKcmyk(13.9%, 54.6%, 0%, 6.7%)
CIE-LABlab(61.55, 58.21, -49.88)
CIE-LCHlch(61.55, 76.66, 319.41°)
OKLaboklab(69.31% 0.1482 -0.1391)
OKLCHoklch(69.31% 0.203 316.8)
XYZxyz(45.9698, 29.8789, 84.2180)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CEE #8DEE6C
analogous
#8C6CEE #CD6CEE #EE6CCE
triadic
#CD6CEE #EECD6C #6CEECD
tetradic
#CD6CEE #EE8C6C #8DEE6C #6CCEEE
square
#CD6CEE #EE8C6C #8DEE6C #6CCEEE
split-complementary
#CD6CEE #CEEE6C #6CEE8C
monochromatic
#9B17C8 #BA35E8 #CD6CEE #E0A3F4 #F2DAFB

Accessibility & contrast

On white

3.01
#CD6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CD6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CEE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CEE#FFFFFF#000000##000000
##CD6CEE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#CC81A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6cee;
/* rgb */ color: rgb(205, 108, 238);
/* oklch */ color: oklch(69.3% 0.203 316.8);
Tailwind
colors: {
  custom: {
    50: '#df9af4',
    500: '#cd6cee',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cee;
$custom-light: #df9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cee",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 284.769,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69308,
    "c": 0.20326,
    "h": 316.8
  },
  "luminance": 0.29877
}

Semantic roles & 50–950 ramp

primary
#CD6CEE
secondary
#D1EFC7
accent
#DC0A3F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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