#CD6ECB#CD6ECB

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

Color values

HEX#CD6ECB
RGBrgb(205, 110, 203)
HSLhsl(301, 49%, 62%)
HSVhsv(301, 46%, 80%)
CMYKcmyk(0%, 46.3%, 1%, 19.6%)
CIE-LABlab(60.29, 50.59, -32.25)
CIE-LCHlch(60.29, 59.99, 327.49°)
OKLaboklab(67.84% 0.1411 -0.0882)
OKLCHoklch(67.84% 0.166 328)
XYZxyz(41.5316, 28.4450, 59.7912)
Luminance0.2844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6ECB #6ECD70
analogous
#A06ECD #CD6ECB #CD6E9C
triadic
#CD6ECB #CBCD6E #6ECBCD
tetradic
#CD6ECB #CDA06E #6ECD70 #6E9CCD
square
#CD6ECB #CDA06E #6ECD70 #6E9CCD
split-complementary
#CD6ECB #9CCD6E #6ECDA0
monochromatic
#8F318D #BD41BA #CD6ECB #DD9CDB #ECC9EC

Accessibility & contrast

On white

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

On black

6.69
#CD6ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6ECB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6ECB#FFFFFF#000000##000000
##CD6ECB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CE
Deuteranopia (green-blind)
#8296C8
Tritanopia (blue-blind)
#D27793
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd6ecb;
/* rgb */ color: rgb(205, 110, 203);
/* oklch */ color: oklch(67.8% 0.166 328.0);
Tailwind
colors: {
  custom: {
    50: '#de9bdb',
    500: '#cd6ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6ecb;
$custom-light: #de9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6ecb",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 301.263,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67843,
    "c": 0.1664,
    "h": 328
  },
  "luminance": 0.28443
}

Semantic roles & 50–950 ramp

primary
#CD6ECB
secondary
#BADDBB
accent
#BC2D29
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD6ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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