#CD6AF1#CD6AF1

#CD6AF1 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.2% C 0.209 H 316.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF1
RGBrgb(205, 106, 241)
HSLhsl(284, 83%, 68%)
HSVhsv(284, 56%, 95%)
CMYKcmyk(14.9%, 56%, 0%, 5.5%)
CIE-LABlab(61.34, 59.78, -51.88)
CIE-LCHlch(61.34, 79.15, 319.05°)
OKLaboklab(69.21% 0.151 -0.1449)
OKLCHoklch(69.21% 0.209 316.2)
XYZxyz(46.2057, 29.6396, 86.4891)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF1 #8EF16A
analogous
#896AF1 #CD6AF1 #F16AD1
triadic
#CD6AF1 #F1CD6A #6AF1CD
tetradic
#CD6AF1 #F1896A #8EF16A #6AD1F1
square
#CD6AF1 #F1896A #8EF16A #6AD1F1
split-complementary
#CD6AF1 #D1F16A #6AF189
monochromatic
#9C13CD #BA32EC #CD6AF1 #E0A2F6 #F3DAFC

Accessibility & contrast

On white

3.03
#CD6AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CD6AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AF1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF1#FFFFFF#000000##000000
##CD6AF11.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF5
Deuteranopia (green-blind)
#6B97EE
Tritanopia (blue-blind)
#CB80A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6af1;
/* rgb */ color: rgb(205, 106, 241);
/* oklch */ color: oklch(69.2% 0.209 316.2);
Tailwind
colors: {
  custom: {
    50: '#df99f6',
    500: '#cd6af1',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af1;
$custom-light: #df99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af1",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 284,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.20922,
    "h": 316.2
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

primary
#CD6AF1
secondary
#D2F0C7
accent
#DF0640
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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