#CD6FDD#CD6FDD

#CD6FDD is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.182 H 321.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CD6FDD
RGBrgb(205, 111, 221)
HSLhsl(291, 62%, 65%)
HSVhsv(291, 50%, 87%)
CMYKcmyk(7.2%, 49.8%, 0%, 13.3%)
CIE-LABlab(61.28, 53.42, -40.83)
CIE-LCHlch(61.28, 67.23, 322.61°)
OKLaboklab(68.84% 0.1426 -0.1128)
OKLCHoklch(68.84% 0.182 321.6)
XYZxyz(43.9110, 29.5704, 71.7872)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FDD #7FDD6F
analogous
#966FDD #CD6FDD #DD6FB6
triadic
#CD6FDD #DDCD6F #6FDDCD
tetradic
#CD6FDD #DD966F #7FDD6F #6FB6DD
square
#CD6FDD #DD966F #7FDD6F #6FB6DD
split-complementary
#CD6FDD #B6DD6F #6FDD96
monochromatic
#9728AA #BC3DD1 #CD6FDD #DEA1E9 #EFD2F4

Accessibility & contrast

On white

3.04
#CD6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CD6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6FDD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FDD#FFFFFF#000000##000000
##CD6FDD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE1
Deuteranopia (green-blind)
#7A98DA
Tritanopia (blue-blind)
#CF7D9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6fdd;
/* rgb */ color: rgb(205, 111, 221);
/* oklch */ color: oklch(68.8% 0.182 321.6);
Tailwind
colors: {
  custom: {
    50: '#de9be8',
    500: '#cd6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fdd;
$custom-light: #de9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fdd",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 291.273,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.18181,
    "h": 321.6
  },
  "luminance": 0.29568
}

Semantic roles & 50–950 ramp

primary
#CD6FDD
secondary
#C7E7C1
accent
#CA1C35
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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