#CD6AEB#CD6AEB

#CD6AEB is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 68.9% C 0.203 H 317.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CD6AEB
RGBrgb(205, 106, 235)
HSLhsl(286, 76%, 67%)
HSVhsv(286, 55%, 92%)
CMYKcmyk(12.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(61.03, 58.59, -49.03)
CIE-LCHlch(61.03, 76.40, 320.07°)
OKLaboklab(68.88% 0.1506 -0.1366)
OKLCHoklch(68.88% 0.203 317.8)
XYZxyz(45.3242, 29.2870, 81.8466)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AEB #88EB6A
analogous
#8D6AEB #CD6AEB #EB6AC8
triadic
#CD6AEB #EBCD6A #6AEBCD
tetradic
#CD6AEB #EB8D6A #88EB6A #6AC8EB
square
#CD6AEB #EB8D6A #88EB6A #6AC8EB
split-complementary
#CD6AEB #C8EB6A #6AEB8D
monochromatic
#9A1AC1 #BB34E4 #CD6AEB #DFA0F2 #F1D6F9

Accessibility & contrast

On white

3.06
#CD6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CD6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AEB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AEB#FFFFFF#000000##000000
##CD6AEB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#CC7EA1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd6aeb;
/* rgb */ color: rgb(205, 106, 235);
/* oklch */ color: oklch(68.9% 0.203 317.8);
Tailwind
colors: {
  custom: {
    50: '#df99f2',
    500: '#cd6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6aeb;
$custom-light: #df99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6aeb",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 286.047,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.20329,
    "h": 317.8
  },
  "luminance": 0.29285
}

Semantic roles & 50–950 ramp

primary
#CD6AEB
secondary
#CDEDC4
accent
#D90D3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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