#CD66ED#CD66ED

#CD66ED is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.5% C 0.211 H 317.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#CD66ED
RGBrgb(205, 102, 237)
HSLhsl(286, 79%, 66%)
HSVhsv(286, 57%, 93%)
CMYKcmyk(13.5%, 57%, 0%, 7.1%)
CIE-LABlab(60.43, 60.89, -51.11)
CIE-LCHlch(60.43, 79.50, 319.99°)
OKLaboklab(68.47% 0.1557 -0.1426)
OKLCHoklch(68.47% 0.211 317.5)
XYZxyz(45.2121, 28.5980, 83.2427)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD66ED #86ED66
analogous
#8A66ED #CD66ED #ED66CA
triadic
#CD66ED #EDCD66 #66EDCD
tetradic
#CD66ED #ED8A66 #86ED66 #66CAED
square
#CD66ED #ED8A66 #86ED66 #66CAED
split-complementary
#CD66ED #CAED66 #66ED8A
monochromatic
#9917C2 #BB2FE7 #CD66ED #DF9DF3 #F1D4FA

Accessibility & contrast

On white

3.13
#CD66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#CD66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD66ED
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD66ED#FFFFFF#000000##000000
##CD66ED1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#CC7CA0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd66ed;
/* rgb */ color: rgb(205, 102, 237);
/* oklch */ color: oklch(68.5% 0.211 317.5);
Tailwind
colors: {
  custom: {
    50: '#df96f3',
    500: '#cd66ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd66ed;
$custom-light: #df96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd66ed",
  "rgb": {
    "r": 205,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 285.778,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.21117,
    "h": 317.5
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

primary
#CD66ED
secondary
#CCEDC2
accent
#DB0A3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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