#CD6AF9#CD6AF9

#CD6AF9 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.7% C 0.217 H 314.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF9
RGBrgb(205, 106, 249)
HSLhsl(282, 92%, 70%)
HSVhsv(282, 57%, 98%)
CMYKcmyk(17.7%, 57.4%, 0%, 2.4%)
CIE-LABlab(61.76, 61.39, -55.63)
CIE-LCHlch(61.76, 82.84, 317.82°)
OKLaboklab(69.65% 0.1513 -0.1558)
OKLCHoklch(69.65% 0.217 314.2)
XYZxyz(47.4269, 30.1282, 92.9212)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF9 #96F96A
analogous
#856AF9 #CD6AF9 #F96ADE
triadic
#CD6AF9 #F9CD6A #6AF9CD
tetradic
#CD6AF9 #F9856A #96F96A #6ADEF9
square
#CD6AF9 #F9856A #96F96A #6ADEF9
split-complementary
#CD6AF9 #DEF96A #6AF985
monochromatic
#9E09E0 #B92FF7 #CD6AF9 #E1A5FB #F4E0FE

Accessibility & contrast

On white

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

On black

7.03
#CD6AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AF9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF9#FFFFFF#000000##000000
##CD6AF91.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#C983A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6af9;
/* rgb */ color: rgb(205, 106, 249);
/* oklch */ color: oklch(69.7% 0.217 314.2);
Tailwind
colors: {
  custom: {
    50: '#df99fc',
    500: '#cd6af9',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af9;
$custom-light: #df99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af9",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 281.538,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69651,
    "c": 0.21718,
    "h": 314.2
  },
  "luminance": 0.30127
}

Semantic roles & 50–950 ramp

primary
#CD6AF9
secondary
#D8F4CB
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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