#CD7CCE#CD7CCE

#CD7CCE is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.146 H 326.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CD7CCE
RGBrgb(205, 124, 206)
HSLhsl(299, 46%, 65%)
HSVhsv(299, 40%, 81%)
CMYKcmyk(0.5%, 39.8%, 0%, 19.2%)
CIE-LABlab(63.22, 43.92, -29.39)
CIE-LCHlch(63.22, 52.85, 326.21°)
OKLaboklab(70.07% 0.1215 -0.0802)
OKLCHoklch(70.07% 0.146 326.6)
XYZxyz(43.5242, 31.8526, 62.2361)
Luminance0.3185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CCE #7DCE7C
analogous
#A47CCE #CD7CCE #CE7CA6
triadic
#CD7CCE #CECD7C #7CCECD
tetradic
#CD7CCE #CEA47C #7DCE7C #7CA6CE
square
#CD7CCE #CEA47C #7DCE7C #7CA6CE
split-complementary
#CD7CCE #A6CE7C #7CCEA4
monochromatic
#963997 #BC4FBD #CD7CCE #DEA9DF #EFD5EF

Accessibility & contrast

On white

2.85
#CD7CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CD7CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CCE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CCE#FFFFFF#000000##000000
##CD7CCE1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D1
Deuteranopia (green-blind)
#8B9DCB
Tritanopia (blue-blind)
#D1849B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7cce;
/* rgb */ color: rgb(205, 124, 206);
/* oklch */ color: oklch(70.1% 0.146 326.6);
Tailwind
colors: {
  custom: {
    50: '#dea4dd',
    500: '#cd7cce',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cce;
$custom-light: #dea4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cce",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 299.268,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.14555,
    "h": 326.6
  },
  "luminance": 0.31851
}

Semantic roles & 50–950 ramp

primary
#CD7CCE
secondary
#C5E1C5
accent
#B92D2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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