#CD66F2#CD66F2

#CD66F2 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.7% C 0.216 H 316.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CD66F2
RGBrgb(205, 102, 242)
HSLhsl(284, 84%, 67%)
HSVhsv(284, 58%, 95%)
CMYKcmyk(15.3%, 57.9%, 0%, 5.1%)
CIE-LABlab(60.69, 61.88, -53.47)
CIE-LCHlch(60.69, 81.78, 319.17°)
OKLaboklab(68.75% 0.156 -0.1495)
OKLCHoklch(68.75% 0.216 316.2)
XYZxyz(45.9528, 28.8943, 87.1437)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD66F2 #8BF266
analogous
#8766F2 #CD66F2 #F266D1
triadic
#CD66F2 #F2CD66 #66F2CD
tetradic
#CD66F2 #F28766 #8BF266 #66D1F2
square
#CD66F2 #F28766 #8BF266 #66D1F2
split-complementary
#CD66F2 #D1F266 #66F287
monochromatic
#9B11CC #BB2EED #CD66F2 #DF9EF7 #F2D7FC

Accessibility & contrast

On white

3.10
#CD66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CD66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD66F2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD66F2#FFFFFF#000000##000000
##CD66F21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#CB7EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd66f2;
/* rgb */ color: rgb(205, 102, 242);
/* oklch */ color: oklch(68.7% 0.216 316.2);
Tailwind
colors: {
  custom: {
    50: '#df96f7',
    500: '#cd66f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd66f2;
$custom-light: #df96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd66f2",
  "rgb": {
    "r": 205,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 284.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.21603,
    "h": 316.2
  },
  "luminance": 0.28893
}

Semantic roles & 50–950 ramp

primary
#CD66F2
secondary
#D0F0C4
accent
#E1053F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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