#CD7CC3#CD7CC3

#CD7CC3 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.135 H 331.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC3
RGBrgb(205, 124, 195)
HSLhsl(307, 45%, 65%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 39.5%, 4.9%, 19.6%)
CIE-LABlab(62.79, 41.93, -23.86)
CIE-LCHlch(62.79, 48.24, 330.36°)
OKLaboklab(69.61% 0.1189 -0.0646)
OKLCHoklch(69.61% 0.135 331.5)
XYZxyz(42.2344, 31.3367, 55.4431)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC3 #7CCD86
analogous
#AE7CCD #CD7CC3 #CD7C9B
triadic
#CD7CC3 #C3CD7C #7CC3CD
tetradic
#CD7CC3 #CDAE7C #7CCD86 #7C9BCD
square
#CD7CC3 #CDAE7C #7CCD86 #7C9BCD
split-complementary
#CD7CC3 #9BCD7C #7CCDAE
monochromatic
#96398A #BC50AF #CD7CC3 #DEA8D7 #EFD5EC

Accessibility & contrast

On white

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

On black

7.27
#CD7CC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC3#FFFFFF#000000##000000
##CD7CC31.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C6
Deuteranopia (green-blind)
#8F9CC0
Tritanopia (blue-blind)
#D38197
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc3;
/* rgb */ color: rgb(205, 124, 195);
/* oklch */ color: oklch(69.6% 0.135 331.5);
Tailwind
colors: {
  custom: {
    50: '#dea4d5',
    500: '#cd7cc3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc3;
$custom-light: #dea4d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc3",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 195
  },
  "hsl": {
    "h": 307.407,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.13528,
    "h": 331.5
  },
  "luminance": 0.31335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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