#CD6EC2#CD6EC2

#CD6EC2 is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.4% C 0.158 H 331.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CD6EC2
RGBrgb(205, 110, 194)
HSLhsl(307, 49%, 62%)
HSVhsv(307, 46%, 80%)
CMYKcmyk(0%, 46.3%, 5.4%, 19.6%)
CIE-LABlab(59.91, 49.00, -27.72)
CIE-LCHlch(59.91, 56.30, 330.50°)
OKLaboklab(67.44% 0.1393 -0.0753)
OKLCHoklch(67.44% 0.158 331.6)
XYZxyz(40.4901, 28.0284, 54.3058)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6EC2 #6ECD79
analogous
#A96ECD #CD6EC2 #CD6E93
triadic
#CD6EC2 #C2CD6E #6EC2CD
tetradic
#CD6EC2 #CDA96E #6ECD79 #6E93CD
square
#CD6EC2 #CDA96E #6ECD79 #6E93CD
split-complementary
#CD6EC2 #93CD6E #6ECDA9
monochromatic
#8F3184 #BD41AE #CD6EC2 #DD9CD5 #ECC9E8

Accessibility & contrast

On white

3.18
#CD6EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CD6EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6EC2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6EC2#FFFFFF#000000##000000
##CD6EC21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#8595BF
Tritanopia (blue-blind)
#D4758F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd6ec2;
/* rgb */ color: rgb(205, 110, 194);
/* oklch */ color: oklch(67.4% 0.158 331.6);
Tailwind
colors: {
  custom: {
    50: '#de9ad4',
    500: '#cd6ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd6ec2;
$custom-light: #de9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6ec2",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 306.947,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.1584,
    "h": 331.6
  },
  "luminance": 0.28026
}

Semantic roles & 50–950 ramp

primary
#CD6EC2
secondary
#BADDBE
accent
#BC3A29
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD6EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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