#CD7CC4#CD7CC4

#CD7CC4 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.6% C 0.136 H 331.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC4
RGBrgb(205, 124, 196)
HSLhsl(307, 45%, 65%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 39.5%, 4.4%, 19.6%)
CIE-LABlab(62.83, 42.11, -24.37)
CIE-LCHlch(62.83, 48.65, 329.94°)
OKLaboklab(69.65% 0.1191 -0.066)
OKLCHoklch(69.65% 0.136 331)
XYZxyz(42.3478, 31.3821, 56.0406)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC4 #7CCD85
analogous
#AE7CCD #CD7CC4 #CD7C9C
triadic
#CD7CC4 #C4CD7C #7CC4CD
tetradic
#CD7CC4 #CDAE7C #7CCD85 #7C9CCD
square
#CD7CC4 #CDAE7C #7CCD85 #7C9CCD
split-complementary
#CD7CC4 #9CCD7C #7CCDAE
monochromatic
#96398B #BC50B0 #CD7CC4 #DEA8D8 #EFD5EC

Accessibility & contrast

On white

2.89
#CD7CC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD7CC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC4#FFFFFF#000000##000000
##CD7CC41.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C7
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#D38197
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc4;
/* rgb */ color: rgb(205, 124, 196);
/* oklch */ color: oklch(69.6% 0.136 331.0);
Tailwind
colors: {
  custom: {
    50: '#dea4d6',
    500: '#cd7cc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc4;
$custom-light: #dea4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc4",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 306.667,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69649,
    "c": 0.13618,
    "h": 331
  },
  "luminance": 0.3138
}

Semantic roles & 50–950 ramp

primary
#CD7CC4
secondary
#C4E0C8
accent
#B83D2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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