#CD7DCF#CD7DCF

#CD7DCF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.145 H 326.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD7DCF
RGBrgb(205, 125, 207)
HSLhsl(299, 46%, 65%)
HSVhsv(299, 40%, 81%)
CMYKcmyk(1%, 39.6%, 0%, 18.8%)
CIE-LABlab(63.47, 43.58, -29.57)
CIE-LCHlch(63.47, 52.66, 325.84°)
OKLaboklab(70.27% 0.1202 -0.0807)
OKLCHoklch(70.27% 0.145 326.1)
XYZxyz(43.7720, 32.1533, 62.9199)
Luminance0.3215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DCF #7FCF7D
analogous
#A47DCF #CD7DCF #CF7DA8
triadic
#CD7DCF #CFCD7D #7DCFCD
tetradic
#CD7DCF #CFA47D #7FCF7D #7DA8CF
square
#CD7DCF #CFA47D #7FCF7D #7DA8CF
split-complementary
#CD7DCF #A8CF7D #7DCFA4
monochromatic
#973999 #BC50BE #CD7DCF #DEAAE0 #EFD6F0

Accessibility & contrast

On white

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

On black

7.43
#CD7DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DCF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DCF#FFFFFF#000000##000000
##CD7DCF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7dcf;
/* rgb */ color: rgb(205, 125, 207);
/* oklch */ color: oklch(70.3% 0.145 326.1);
Tailwind
colors: {
  custom: {
    50: '#dea4de',
    500: '#cd7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dcf;
$custom-light: #dea4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dcf",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 298.537,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.1448,
    "h": 326.1
  },
  "luminance": 0.32151
}

Semantic roles & 50–950 ramp

primary
#CD7DCF
secondary
#C7E2C6
accent
#B92C30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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