#CD6AF8#CD6AF8

#CD6AF8 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.6% C 0.216 H 314.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF8
RGBrgb(205, 106, 248)
HSLhsl(282, 91%, 69%)
HSVhsv(282, 57%, 97%)
CMYKcmyk(17.3%, 57.3%, 0%, 2.7%)
CIE-LABlab(61.71, 61.19, -55.16)
CIE-LCHlch(61.71, 82.38, 317.96°)
OKLaboklab(69.6% 0.1513 -0.1544)
OKLCHoklch(69.6% 0.216 314.4)
XYZxyz(47.2714, 30.0659, 92.1019)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF8 #95F86A
analogous
#866AF8 #CD6AF8 #F86ADC
triadic
#CD6AF8 #F8CD6A #6AF8CD
tetradic
#CD6AF8 #F8866A #95F86A #6ADCF8
square
#CD6AF8 #F8866A #95F86A #6ADCF8
split-complementary
#CD6AF8 #DCF86A #6AF886
monochromatic
#9D0ADD #B930F5 #CD6AF8 #E1A4FB #F4DFFD

Accessibility & contrast

On white

2.99
#CD6AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#CD6AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AF8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF8#FFFFFF#000000##000000
##CD6AF81.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFD
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#CA82A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6af8;
/* rgb */ color: rgb(205, 106, 248);
/* oklch */ color: oklch(69.6% 0.216 314.4);
Tailwind
colors: {
  custom: {
    50: '#df99fb',
    500: '#cd6af8',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af8;
$custom-light: #df99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af8",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 281.831,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69595,
    "c": 0.21618,
    "h": 314.4
  },
  "luminance": 0.30065
}

Semantic roles & 50–950 ramp

primary
#CD6AF8
secondary
#D7F3CA
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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