#CD6AFD#CD6AFD

#CD6AFD is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.9% C 0.221 H 313.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CD6AFD
RGBrgb(205, 106, 253)
HSLhsl(280, 97%, 70%)
HSVhsv(280, 58%, 99%)
CMYKcmyk(19%, 58.1%, 0%, 0.8%)
CIE-LABlab(61.98, 62.21, -57.49)
CIE-LCHlch(61.98, 84.70, 317.26°)
OKLaboklab(69.88% 0.1514 -0.1612)
OKLCHoklch(69.88% 0.221 313.2)
XYZxyz(48.0575, 30.3804, 96.2419)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AFD #9AFD6A
analogous
#836AFD #CD6AFD #FD6AE4
triadic
#CD6AFD #FDCD6A #6AFDCD
tetradic
#CD6AFD #FD836A #9AFD6A #6AE4FD
square
#CD6AFD #FD836A #9AFD6A #6AE4FD
split-complementary
#CD6AFD #E4FD6A #6AFD83
monochromatic
#9E03E9 #B92EFC #CD6AFD #E1A6FE #F5E1FF

Accessibility & contrast

On white

2.97
#CD6AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CD6AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AFD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AFD#FFFFFF#000000##000000
##CD6AFD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#C884AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6afd;
/* rgb */ color: rgb(205, 106, 253);
/* oklch */ color: oklch(69.9% 0.221 313.2);
Tailwind
colors: {
  custom: {
    50: '#df99ff',
    500: '#cd6afd',
    950: '#000000',
  },
}
SCSS
$custom: #cd6afd;
$custom-light: #df99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6afd",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 280.408,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.22118,
    "h": 313.2
  },
  "luminance": 0.30379
}

Semantic roles & 50–950 ramp

primary
#CD6AFD
secondary
#DAF6CD
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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