#CD6AF7#CD6AF7

#CD6AF7 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.5% C 0.215 H 314.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF7
RGBrgb(205, 106, 247)
HSLhsl(282, 90%, 69%)
HSVhsv(282, 57%, 97%)
CMYKcmyk(17%, 57.1%, 0%, 3.1%)
CIE-LABlab(61.66, 60.98, -54.70)
CIE-LCHlch(61.66, 81.92, 318.11°)
OKLaboklab(69.54% 0.1512 -0.1531)
OKLCHoklch(69.54% 0.215 314.6)
XYZxyz(47.1167, 30.0040, 91.2870)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF7 #94F76A
analogous
#876AF7 #CD6AF7 #F76ADA
triadic
#CD6AF7 #F7CD6A #6AF7CD
tetradic
#CD6AF7 #F7876A #94F76A #6ADAF7
square
#CD6AF7 #F7876A #94F76A #6ADAF7
split-complementary
#CD6AF7 #DAF76A #6AF787
monochromatic
#9D0CDB #BA30F4 #CD6AF7 #E0A4FA #F4DEFD

Accessibility & contrast

On white

3.00
#CD6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CD6AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AF7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF7#FFFFFF#000000##000000
##CD6AF71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFC
Deuteranopia (green-blind)
#6798F3
Tritanopia (blue-blind)
#CA82A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6af7;
/* rgb */ color: rgb(205, 106, 247);
/* oklch */ color: oklch(69.5% 0.215 314.6);
Tailwind
colors: {
  custom: {
    50: '#df99fa',
    500: '#cd6af7',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af7;
$custom-light: #df99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af7",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 282.128,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.21518,
    "h": 314.6
  },
  "luminance": 0.30003
}

Semantic roles & 50–950 ramp

primary
#CD6AF7
secondary
#D6F3CA
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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