#CD7DC6#CD7DC6

#CD7DC6 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.136 H 330.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC6
RGBrgb(205, 125, 198)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 39%, 80%)
CMYKcmyk(0%, 39%, 3.4%, 19.6%)
CIE-LABlab(63.12, 41.94, -25.06)
CIE-LCHlch(63.12, 48.85, 329.14°)
OKLaboklab(69.89% 0.1181 -0.0679)
OKLCHoklch(69.89% 0.136 330.1)
XYZxyz(42.7029, 31.7256, 57.2895)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC6 #7DCD84
analogous
#AC7DCD #CD7DC6 #CD7D9E
triadic
#CD7DC6 #C6CD7D #7DC6CD
tetradic
#CD7DC6 #CDAC7D #7DCD84 #7D9ECD
square
#CD7DC6 #CDAC7D #7DCD84 #7D9ECD
split-complementary
#CD7DC6 #9ECD7D #7DCDAC
monochromatic
#963A8E #BC51B3 #CD7DC6 #DEA9D9 #EFD5ED

Accessibility & contrast

On white

2.86
#CD7DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CD7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC6#FFFFFF#000000##000000
##CD7DC61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C9
Deuteranopia (green-blind)
#8E9DC3
Tritanopia (blue-blind)
#D38399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dc6;
/* rgb */ color: rgb(205, 125, 198);
/* oklch */ color: oklch(69.9% 0.136 330.1);
Tailwind
colors: {
  custom: {
    50: '#dda4d7',
    500: '#cd7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc6;
$custom-light: #dda4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc6",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 305.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.13627,
    "h": 330.1
  },
  "luminance": 0.31724
}

Semantic roles & 50–950 ramp

primary
#CD7DC6
secondary
#C5E1C8
accent
#B83A2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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