#CD7CC6#CD7CC6

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

Color values

HEX#CD7CC6
RGBrgb(205, 124, 198)
HSLhsl(305, 45%, 65%)
HSVhsv(305, 40%, 80%)
CMYKcmyk(0%, 39.5%, 3.4%, 19.6%)
CIE-LABlab(62.91, 42.46, -25.38)
CIE-LCHlch(62.91, 49.47, 329.14°)
OKLaboklab(69.73% 0.1196 -0.0688)
OKLCHoklch(69.73% 0.138 330.1)
XYZxyz(42.5770, 31.4737, 57.2475)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC6 #7CCD83
analogous
#AC7CCD #CD7CC6 #CD7C9E
triadic
#CD7CC6 #C6CD7C #7CC6CD
tetradic
#CD7CC6 #CDAC7C #7CCD83 #7C9ECD
square
#CD7CC6 #CDAC7C #7CCD83 #7C9ECD
split-complementary
#CD7CC6 #9ECD7C #7CCDAC
monochromatic
#96398E #BC50B3 #CD7CC6 #DEA8D9 #EFD5ED

Accessibility & contrast

On white

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

On black

7.29
#CD7CC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC6#FFFFFF#000000##000000
##CD7CC61.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7cc6;
/* rgb */ color: rgb(205, 124, 198);
/* oklch */ color: oklch(69.7% 0.138 330.1);
Tailwind
colors: {
  custom: {
    50: '#dea4d7',
    500: '#cd7cc6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc6;
$custom-light: #dea4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc6",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 198
  },
  "hsl": {
    "h": 305.185,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.13801,
    "h": 330.1
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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