#CD6CDE#CD6CDE

#CD6CDE is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.5% C 0.188 H 321.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CD6CDE
RGBrgb(205, 108, 222)
HSLhsl(291, 63%, 65%)
HSVhsv(291, 51%, 87%)
CMYKcmyk(7.7%, 51.4%, 0%, 12.9%)
CIE-LABlab(60.76, 55.10, -42.20)
CIE-LCHlch(60.76, 69.40, 322.55°)
OKLaboklab(68.47% 0.1467 -0.1168)
OKLCHoklch(68.47% 0.188 321.5)
XYZxyz(43.7227, 28.9801, 72.3837)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CDE #7DDE6C
analogous
#946CDE #CD6CDE #DE6CB6
triadic
#CD6CDE #DECD6C #6CDECD
tetradic
#CD6CDE #DE946C #7DDE6C #6CB6DE
square
#CD6CDE #DE946C #7DDE6C #6CB6DE
split-complementary
#CD6CDE #B6DE6C #6CDE94
monochromatic
#9626AA #BC3AD3 #CD6CDE #DE9EE9 #EFD0F4

Accessibility & contrast

On white

3.09
#CD6CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CD6CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CDE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CDE#FFFFFF#000000##000000
##CD6CDE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#7896DB
Tritanopia (blue-blind)
#CF7B9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd6cde;
/* rgb */ color: rgb(205, 108, 222);
/* oklch */ color: oklch(68.5% 0.188 321.5);
Tailwind
colors: {
  custom: {
    50: '#de9ae8',
    500: '#cd6cde',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cde;
$custom-light: #de9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cde",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 291.053,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.18753,
    "h": 321.5
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

primary
#CD6CDE
secondary
#C5E6BF
accent
#CB1A35
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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