#CD6CD8#CD6CD8

#CD6CD8 is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.2% C 0.182 H 323.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#CD6CD8
RGBrgb(205, 108, 216)
HSLhsl(294, 58%, 64%)
HSVhsv(294, 50%, 85%)
CMYKcmyk(5.1%, 50%, 0%, 15.3%)
CIE-LABlab(60.48, 53.96, -39.27)
CIE-LCHlch(60.48, 66.74, 323.95°)
OKLaboklab(68.18% 0.146 -0.1083)
OKLCHoklch(68.18% 0.182 323.4)
XYZxyz(42.9329, 28.6641, 68.2237)
Luminance0.2866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CD8 #77D86C
analogous
#976CD8 #CD6CD8 #D86CAD
triadic
#CD6CD8 #D8CD6C #6CD8CD
tetradic
#CD6CD8 #D8976C #77D86C #6CADD8
square
#CD6CD8 #D8976C #77D86C #6CADD8
split-complementary
#CD6CD8 #ADD86C #6CD897
monochromatic
#932A9F #BD3CCB #CD6CD8 #DD9CE5 #EECDF2

Accessibility & contrast

On white

3.12
#CD6CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#CD6CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CD8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CD8#FFFFFF#000000##000000
##CD6CD81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADC
Deuteranopia (green-blind)
#7B96D5
Tritanopia (blue-blind)
#D07A98
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd6cd8;
/* rgb */ color: rgb(205, 108, 216);
/* oklch */ color: oklch(68.2% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#de9ae4',
    500: '#cd6cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cd8;
$custom-light: #de9ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cd8",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 293.889,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.18178,
    "h": 323.4
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#CD6CD8
secondary
#C1E3BD
accent
#C62031
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CD6CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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