#CD6AFB#CD6AFB

#CD6AFB is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.8% C 0.219 H 313.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CD6AFB
RGBrgb(205, 106, 251)
HSLhsl(281, 95%, 70%)
HSVhsv(281, 58%, 98%)
CMYKcmyk(18.3%, 57.8%, 0%, 1.6%)
CIE-LABlab(61.87, 61.80, -56.56)
CIE-LCHlch(61.87, 83.77, 317.53°)
OKLaboklab(69.77% 0.1513 -0.1585)
OKLCHoklch(69.77% 0.219 313.7)
XYZxyz(47.7405, 30.2536, 94.5728)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AFB #98FB6A
analogous
#856AFB #CD6AFB #FB6AE0
triadic
#CD6AFB #FBCD6A #6AFBCD
tetradic
#CD6AFB #FB856A #98FB6A #6AE0FB
square
#CD6AFB #FB856A #98FB6A #6AE0FB
split-complementary
#CD6AFB #E0FB6A #6AFB85
monochromatic
#9E06E4 #B92EF9 #CD6AFB #E1A6FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.05
#CD6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6AFB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AFB#FFFFFF#000000##000000
##CD6AFB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#C983A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd6afb;
/* rgb */ color: rgb(205, 106, 251);
/* oklch */ color: oklch(69.8% 0.219 313.7);
Tailwind
colors: {
  custom: {
    50: '#df99fd',
    500: '#cd6afb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6afb;
$custom-light: #df99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6afb",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 280.966,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.69765,
    "c": 0.21918,
    "h": 313.7
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#CD6AFB
secondary
#D9F5CC
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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