#CD6ECA#CD6ECA

#CD6ECA is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.8% C 0.166 H 328.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CD6ECA
RGBrgb(205, 110, 202)
HSLhsl(302, 49%, 62%)
HSVhsv(302, 46%, 80%)
CMYKcmyk(0%, 46.3%, 1.5%, 19.6%)
CIE-LABlab(60.25, 50.41, -31.75)
CIE-LCHlch(60.25, 59.57, 327.80°)
OKLaboklab(67.8% 0.1409 -0.0868)
OKLCHoklch(67.8% 0.166 328.4)
XYZxyz(41.4128, 28.3975, 59.1656)
Luminance0.2839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6ECA #6ECD71
analogous
#A16ECD #CD6ECA #CD6E9B
triadic
#CD6ECA #CACD6E #6ECACD
tetradic
#CD6ECA #CDA16E #6ECD71 #6E9BCD
square
#CD6ECA #CDA16E #6ECD71 #6E9BCD
split-complementary
#CD6ECA #9BCD6E #6ECDA1
monochromatic
#8F318C #BD41B9 #CD6ECA #DD9CDB #ECC9EB

Accessibility & contrast

On white

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

On black

6.68
#CD6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6ECA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6ECA#FFFFFF#000000##000000
##CD6ECA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#8296C7
Tritanopia (blue-blind)
#D37793
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd6eca;
/* rgb */ color: rgb(205, 110, 202);
/* oklch */ color: oklch(67.8% 0.166 328.4);
Tailwind
colors: {
  custom: {
    50: '#de9bda',
    500: '#cd6eca',
    950: '#000000',
  },
}
SCSS
$custom: #cd6eca;
$custom-light: #de9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6eca",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 301.895,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.1655,
    "h": 328.4
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#CD6ECA
secondary
#BADDBB
accent
#BC2E29
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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