#CD66EB#CD66EB

#CD66EB is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.4% C 0.209 H 318.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CD66EB
RGBrgb(205, 102, 235)
HSLhsl(286, 77%, 66%)
HSVhsv(286, 57%, 92%)
CMYKcmyk(12.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(60.32, 60.50, -50.16)
CIE-LCHlch(60.32, 78.59, 320.34°)
OKLaboklab(68.36% 0.1556 -0.1398)
OKLCHoklch(68.36% 0.209 318.1)
XYZxyz(44.9215, 28.4818, 81.7124)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD66EB #84EB66
analogous
#8A66EB #CD66EB #EB66C6
triadic
#CD66EB #EBCD66 #66EBCD
tetradic
#CD66EB #EB8A66 #84EB66 #66C6EB
square
#CD66EB #EB8A66 #84EB66 #66C6EB
split-complementary
#CD66EB #C6EB66 #66EB8A
monochromatic
#9919BE #BB30E4 #CD66EB #DF9CF2 #F0D2F9

Accessibility & contrast

On white

3.14
#CD66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CD66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD66EB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD66EB#FFFFFF#000000##000000
##CD66EB1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#CD7B9F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd66eb;
/* rgb */ color: rgb(205, 102, 235);
/* oklch */ color: oklch(68.4% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#df96f2',
    500: '#cd66eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd66eb;
$custom-light: #df96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd66eb",
  "rgb": {
    "r": 205,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 286.466,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.20923,
    "h": 318.1
  },
  "luminance": 0.2848
}

Semantic roles & 50–950 ramp

primary
#CD66EB
secondary
#CAECC1
accent
#D90C3B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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