#CD6CEF#CD6CEF

#CD6CEF is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.4% C 0.204 H 316.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD6CEF
RGBrgb(205, 108, 239)
HSLhsl(284, 80%, 68%)
HSVhsv(284, 55%, 94%)
CMYKcmyk(14.2%, 54.8%, 0%, 6.3%)
CIE-LABlab(61.60, 58.41, -50.36)
CIE-LCHlch(61.60, 77.12, 319.24°)
OKLaboklab(69.36% 0.1483 -0.1404)
OKLCHoklch(69.36% 0.204 316.6)
XYZxyz(46.1171, 29.9378, 84.9939)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6CEF #8EEF6C
analogous
#8B6CEF #CD6CEF #EF6CD0
triadic
#CD6CEF #EFCD6C #6CEFCD
tetradic
#CD6CEF #EF8B6C #8EEF6C #6CD0EF
square
#CD6CEF #EF8B6C #8EEF6C #6CD0EF
split-complementary
#CD6CEF #D0EF6C #6CEF8B
monochromatic
#9C16CB #BA35E9 #CD6CEF #E0A3F5 #F3DAFB

Accessibility & contrast

On white

3.01
#CD6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6CEF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6CEF#FFFFFF#000000##000000
##CD6CEF1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#CC81A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6cef;
/* rgb */ color: rgb(205, 108, 239);
/* oklch */ color: oklch(69.4% 0.204 316.6);
Tailwind
colors: {
  custom: {
    50: '#df9af5',
    500: '#cd6cef',
    950: '#000000',
  },
}
SCSS
$custom: #cd6cef;
$custom-light: #df9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6cef",
  "rgb": {
    "r": 205,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 284.427,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.20425,
    "h": 316.6
  },
  "luminance": 0.29936
}

Semantic roles & 50–950 ramp

primary
#CD6CEF
secondary
#D2EFC7
accent
#DD0940
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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