#CD6AFA#CD6AFA

#CD6AFA is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.7% C 0.218 H 313.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CD6AFA
RGBrgb(205, 106, 250)
HSLhsl(281, 94%, 70%)
HSVhsv(281, 58%, 98%)
CMYKcmyk(18%, 57.6%, 0%, 2%)
CIE-LABlab(61.82, 61.59, -56.10)
CIE-LCHlch(61.82, 83.31, 317.67°)
OKLaboklab(69.71% 0.1513 -0.1572)
OKLCHoklch(69.71% 0.218 313.9)
XYZxyz(47.5833, 30.1907, 93.7448)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AFA #97FA6A
analogous
#856AFA #CD6AFA #FA6ADF
triadic
#CD6AFA #FACD6A #6AFACD
tetradic
#CD6AFA #FA856A #97FA6A #6ADFFA
square
#CD6AFA #FA856A #97FA6A #6ADFFA
split-complementary
#CD6AFA #DFFA6A #6AFA85
monochromatic
#9E08E2 #B92FF8 #CD6AFA #E1A5FC #F5E0FE

Accessibility & contrast

On white

2.98
#CD6AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CD6AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AFA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AFA#FFFFFF#000000##000000
##CD6AFA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#C983A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6afa;
/* rgb */ color: rgb(205, 106, 250);
/* oklch */ color: oklch(69.7% 0.218 313.9);
Tailwind
colors: {
  custom: {
    50: '#df99fc',
    500: '#cd6afa',
    950: '#000000',
  },
}
SCSS
$custom: #cd6afa;
$custom-light: #df99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6afa",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 281.25,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.21818,
    "h": 313.9
  },
  "luminance": 0.30189
}

Semantic roles & 50–950 ramp

primary
#CD6AFA
secondary
#D8F4CC
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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