#CD6AF2#CD6AF2

#CD6AF2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.210 H 315.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CD6AF2
RGBrgb(205, 106, 242)
HSLhsl(284, 84%, 68%)
HSVhsv(284, 56%, 95%)
CMYKcmyk(15.3%, 56.2%, 0%, 5.1%)
CIE-LABlab(61.39, 59.98, -52.35)
CIE-LCHlch(61.39, 79.61, 318.89°)
OKLaboklab(69.26% 0.151 -0.1462)
OKLCHoklch(69.26% 0.21 315.9)
XYZxyz(46.3554, 29.6996, 87.2779)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AF2 #8FF26A
analogous
#896AF2 #CD6AF2 #F26AD3
triadic
#CD6AF2 #F2CD6A #6AF2CD
tetradic
#CD6AF2 #F2896A #8FF26A #6AD3F2
square
#CD6AF2 #F2896A #8FF26A #6AD3F2
split-complementary
#CD6AF2 #D3F26A #6AF289
monochromatic
#9C12CF #BA32ED #CD6AF2 #E0A2F7 #F3DBFC

Accessibility & contrast

On white

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

On black

6.94
#CD6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AF2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AF2#FFFFFF#000000##000000
##CD6AF21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#CB80A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6af2;
/* rgb */ color: rgb(205, 106, 242);
/* oklch */ color: oklch(69.3% 0.210 315.9);
Tailwind
colors: {
  custom: {
    50: '#df99f7',
    500: '#cd6af2',
    950: '#000000',
  },
}
SCSS
$custom: #cd6af2;
$custom-light: #df99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6af2",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 283.676,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69261,
    "c": 0.21021,
    "h": 315.9
  },
  "luminance": 0.29698
}

Semantic roles & 50–950 ramp

primary
#CD6AF2
secondary
#D2F1C7
accent
#E00541
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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