#CD7DCE#CD7DCE

#CD7DCE is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.144 H 326.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CD7DCE
RGBrgb(205, 125, 206)
HSLhsl(299, 45%, 65%)
HSVhsv(299, 39%, 81%)
CMYKcmyk(0.5%, 39.3%, 0%, 19.2%)
CIE-LABlab(63.43, 43.39, -29.07)
CIE-LCHlch(63.43, 52.23, 326.18°)
OKLaboklab(70.23% 0.12 -0.0793)
OKLCHoklch(70.23% 0.144 326.5)
XYZxyz(43.6501, 32.1045, 62.2781)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DCE #7ECE7D
analogous
#A47DCE #CD7DCE #CE7DA7
triadic
#CD7DCE #CECD7D #7DCECD
tetradic
#CD7DCE #CEA47D #7ECE7D #7DA7CE
square
#CD7DCE #CEA47D #7ECE7D #7DA7CE
split-complementary
#CD7DCE #A7CE7D #7DCEA4
monochromatic
#963997 #BC51BD #CD7DCE #DEA9DF #EFD6F0

Accessibility & contrast

On white

2.83
#CD7DCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CD7DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DCE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DCE#FFFFFF#000000##000000
##CD7DCE1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D1
Deuteranopia (green-blind)
#8B9DCB
Tritanopia (blue-blind)
#D1859C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7dce;
/* rgb */ color: rgb(205, 125, 206);
/* oklch */ color: oklch(70.2% 0.144 326.5);
Tailwind
colors: {
  custom: {
    50: '#dea4dd',
    500: '#cd7dce',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dce;
$custom-light: #dea4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dce",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 299.259,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70229,
    "c": 0.14383,
    "h": 326.5
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#CD7DCE
secondary
#C6E1C6
accent
#B82D2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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