#CD7CC7#CD7CC7

#CD7CC7 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.139 H 329.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC7
RGBrgb(205, 124, 199)
HSLhsl(304, 45%, 65%)
HSVhsv(304, 40%, 80%)
CMYKcmyk(0%, 39.5%, 2.9%, 19.6%)
CIE-LABlab(62.94, 42.64, -25.88)
CIE-LCHlch(62.94, 49.88, 328.75°)
OKLaboklab(69.77% 0.1199 -0.0703)
OKLCHoklch(69.77% 0.139 329.6)
XYZxyz(42.6927, 31.5200, 57.8569)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC7 #7CCD82
analogous
#AA7CCD #CD7CC7 #CD7C9F
triadic
#CD7CC7 #C7CD7C #7CC7CD
tetradic
#CD7CC7 #CDAA7C #7CCD82 #7C9FCD
square
#CD7CC7 #CDAA7C #7CCD82 #7C9FCD
split-complementary
#CD7CC7 #9FCD7C #7CCDAA
monochromatic
#96398F #BC50B4 #CD7CC7 #DEA8DA #EFD5ED

Accessibility & contrast

On white

2.88
#CD7CC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CD7CC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC7#FFFFFF#000000##000000
##CD7CC71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891CA
Deuteranopia (green-blind)
#8D9CC4
Tritanopia (blue-blind)
#D38298
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc7;
/* rgb */ color: rgb(205, 124, 199);
/* oklch */ color: oklch(69.8% 0.139 329.6);
Tailwind
colors: {
  custom: {
    50: '#dea4d8',
    500: '#cd7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc7;
$custom-light: #dea4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 304.444,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.13893,
    "h": 329.6
  },
  "luminance": 0.31518
}

Semantic roles & 50–950 ramp

primary
#CD7CC7
secondary
#C4E0C6
accent
#B8382E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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