#CD6DEB#CD6DEB

#CD6DEB is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.3% C 0.199 H 317.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD6DEB
RGBrgb(205, 109, 235)
HSLhsl(286, 76%, 67%)
HSVhsv(286, 54%, 92%)
CMYKcmyk(12.8%, 53.6%, 0%, 7.8%)
CIE-LABlab(61.58, 57.13, -48.16)
CIE-LCHlch(61.58, 74.72, 319.87°)
OKLaboklab(69.28% 0.1467 -0.1341)
OKLCHoklch(69.28% 0.199 317.6)
XYZxyz(45.6388, 29.9162, 81.9515)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DEB #8BEB6D
analogous
#8E6DEB #CD6DEB #EB6DCA
triadic
#CD6DEB #EBCD6D #6DEBCD
tetradic
#CD6DEB #EB8E6D #8BEB6D #6DCAEB
square
#CD6DEB #EB8E6D #8BEB6D #6DCAEB
split-complementary
#CD6DEB #CAEB6D #6DEB8E
monochromatic
#9B1BC3 #BB37E4 #CD6DEB #DFA3F2 #F2D9FA

Accessibility & contrast

On white

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

On black

6.98
#CD6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6DEB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DEB#FFFFFF#000000##000000
##CD6DEB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#CC80A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6deb;
/* rgb */ color: rgb(205, 109, 235);
/* oklch */ color: oklch(69.3% 0.199 317.6);
Tailwind
colors: {
  custom: {
    50: '#df9bf2',
    500: '#cd6deb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6deb;
$custom-light: #df9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6deb",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 285.714,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.19876,
    "h": 317.6
  },
  "luminance": 0.29915
}

Semantic roles & 50–950 ramp

primary
#CD6DEB
secondary
#D0EEC6
accent
#D80D3E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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