#CD6AFE#CD6AFE

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

Color values

HEX#CD6AFE
RGBrgb(205, 106, 254)
HSLhsl(280, 99%, 71%)
HSVhsv(280, 58%, 100%)
CMYKcmyk(19.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(62.04, 62.41, -57.95)
CIE-LCHlch(62.04, 85.17, 317.12°)
OKLaboklab(69.94% 0.1514 -0.1626)
OKLCHoklch(69.94% 0.222 313)
XYZxyz(48.2172, 30.4442, 97.0831)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AFE #9BFE6A
analogous
#836AFE #CD6AFE #FE6AE5
triadic
#CD6AFE #FECD6A #6AFECD
tetradic
#CD6AFE #FE836A #9BFE6A #6AE5FE
square
#CD6AFE #FE836A #9BFE6A #6AE5FE
split-complementary
#CD6AFE #E5FE6A #6AFE83
monochromatic
#9E02EC #B92DFE #CD6AFE #E1A7FE #F5E1FF

Accessibility & contrast

On white

2.96
#CD6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AFE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AFE#FFFFFF#000000##000000
##CD6AFE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#C884AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6afe;
/* rgb */ color: rgb(205, 106, 254);
/* oklch */ color: oklch(69.9% 0.222 313.0);
Tailwind
colors: {
  custom: {
    50: '#e099ff',
    500: '#cd6afe',
    950: '#000000',
  },
}
SCSS
$custom: #cd6afe;
$custom-light: #e099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6afe",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 280.135,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69936,
    "c": 0.22219,
    "h": 313
  },
  "luminance": 0.30443
}

Semantic roles & 50–950 ramp

primary
#CD6AFE
secondary
#DBF6CE
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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