#CD7DC2#CD7DC2

#CD7DC2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.133 H 332.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC2
RGBrgb(205, 125, 194)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 39%, 80%)
CMYKcmyk(0%, 39%, 5.4%, 19.6%)
CIE-LABlab(62.96, 41.22, -23.03)
CIE-LCHlch(62.96, 47.22, 330.81°)
OKLaboklab(69.73% 0.1171 -0.0623)
OKLCHoklch(69.73% 0.133 332)
XYZxyz(42.2476, 31.5435, 54.8917)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC2 #7DCD88
analogous
#B07DCD #CD7DC2 #CD7D9A
triadic
#CD7DC2 #C2CD7D #7DC2CD
tetradic
#CD7DC2 #CDB07D #7DCD88 #7D9ACD
square
#CD7DC2 #CDB07D #7DCD88 #7D9ACD
split-complementary
#CD7DC2 #9ACD7D #7DCDB0
monochromatic
#963A89 #BC51AD #CD7DC2 #DEA9D7 #EFD5EB

Accessibility & contrast

On white

2.87
#CD7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD7DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC2#FFFFFF#000000##000000
##CD7DC21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#909CC0
Tritanopia (blue-blind)
#D38297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dc2;
/* rgb */ color: rgb(205, 125, 194);
/* oklch */ color: oklch(69.7% 0.133 332.0);
Tailwind
colors: {
  custom: {
    50: '#dda4d4',
    500: '#cd7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc2;
$custom-light: #dda4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc2",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 308.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.13263,
    "h": 332
  },
  "luminance": 0.31541
}

Semantic roles & 50–950 ramp

primary
#CD7DC2
secondary
#C5E1C9
accent
#B8412E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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