#CD6AF5#CD6AF5

#CD6AF5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.4% C 0.213 H 315.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF5
RGBrgb(205, 106, 245)
HSLhsl(283, 87%, 69%)
HSVhsv(283, 57%, 96%)
CMYKcmyk(16.3%, 56.7%, 0%, 3.9%)
CIE-LABlab(61.55, 60.58, -53.76)
CIE-LCHlch(61.55, 80.99, 318.41°)
OKLaboklab(69.43% 0.1511 -0.1504)
OKLCHoklch(69.43% 0.213 315.2)
XYZxyz(46.8097, 29.8813, 89.6704)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF5 #92F56A
analogous
#886AF5 #CD6AF5 #F56AD7
triadic
#CD6AF5 #F5CD6A #6AF5CD
tetradic
#CD6AF5 #F5886A #92F56A #6AD7F5
square
#CD6AF5 #F5886A #92F56A #6AD7F5
split-complementary
#CD6AF5 #D7F56A #6AF588
monochromatic
#9D0ED6 #BA31F1 #CD6AF5 #E0A3F9 #F3DDFD

Accessibility & contrast

On white

3.01
#CD6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CD6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AF5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF5#FFFFFF#000000##000000
##CD6AF51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#6997F1
Tritanopia (blue-blind)
#CA81A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6af5;
/* rgb */ color: rgb(205, 106, 245);
/* oklch */ color: oklch(69.4% 0.213 315.2);
Tailwind
colors: {
  custom: {
    50: '#df99f9',
    500: '#cd6af5',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af5;
$custom-light: #df99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af5",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 282.734,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69427,
    "c": 0.21319,
    "h": 315.2
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#CD6AF5
secondary
#D5F2C9
accent
#E40243
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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