#CD6AEF#CD6AEF

#CD6AEF is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.1% C 0.207 H 316.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CD6AEF
RGBrgb(205, 106, 239)
HSLhsl(285, 81%, 68%)
HSVhsv(285, 56%, 94%)
CMYKcmyk(14.2%, 55.6%, 0%, 6.3%)
CIE-LABlab(61.24, 59.38, -50.93)
CIE-LCHlch(61.24, 78.23, 319.38°)
OKLaboklab(69.1% 0.1508 -0.1421)
OKLCHoklch(69.1% 0.207 316.7)
XYZxyz(45.9086, 29.5208, 84.9244)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AEF #8CEF6A
analogous
#8B6AEF #CD6AEF #EF6ACE
triadic
#CD6AEF #EFCD6A #6AEFCD
tetradic
#CD6AEF #EF8B6A #8CEF6A #6ACEEF
square
#CD6AEF #EF8B6A #8CEF6A #6ACEEF
split-complementary
#CD6AEF #CEEF6A #6AEF8B
monochromatic
#9B16C9 #BA33E9 #CD6AEF #E0A1F5 #F2D9FB

Accessibility & contrast

On white

3.04
#CD6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CD6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AEF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AEF#FFFFFF#000000##000000
##CD6AEF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#CC7FA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6aef;
/* rgb */ color: rgb(205, 106, 239);
/* oklch */ color: oklch(69.1% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#df99f5',
    500: '#cd6aef',
    950: '#000000',
  },
}
SCSS
$custom: #cd6aef;
$custom-light: #df99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6aef",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 284.662,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.20724,
    "h": 316.7
  },
  "luminance": 0.29519
}

Semantic roles & 50–950 ramp

primary
#CD6AEF
secondary
#D0EFC6
accent
#DD093F
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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