#CD7CC1#CD7CC1

#CD7CC1 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.5% C 0.134 H 332.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC1
RGBrgb(205, 124, 193)
HSLhsl(309, 45%, 65%)
HSVhsv(309, 40%, 80%)
CMYKcmyk(0%, 39.5%, 5.9%, 19.6%)
CIE-LABlab(62.72, 41.58, -22.85)
CIE-LCHlch(62.72, 47.44, 331.21°)
OKLaboklab(69.53% 0.1184 -0.0617)
OKLCHoklch(69.53% 0.134 332.5)
XYZxyz(42.0098, 31.2468, 54.2602)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC1 #7CCD88
analogous
#B17CCD #CD7CC1 #CD7C99
triadic
#CD7CC1 #C1CD7C #7CC1CD
tetradic
#CD7CC1 #CDB17C #7CCD88 #7C99CD
square
#CD7CC1 #CDB17C #7CCD88 #7C99CD
split-complementary
#CD7CC1 #99CD7C #7CCDB1
monochromatic
#963988 #BC50AC #CD7CC1 #DEA8D6 #EFD5EB

Accessibility & contrast

On white

2.90
#CD7CC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CD7CC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC1#FFFFFF#000000##000000
##CD7CC11.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C4
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D48196
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc1;
/* rgb */ color: rgb(205, 124, 193);
/* oklch */ color: oklch(69.5% 0.134 332.5);
Tailwind
colors: {
  custom: {
    50: '#dea3d4',
    500: '#cd7cc1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc1;
$custom-light: #dea3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc1",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 193
  },
  "hsl": {
    "h": 308.889,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.1335,
    "h": 332.5
  },
  "luminance": 0.31245
}

Semantic roles & 50–950 ramp

primary
#CD7CC1
secondary
#C4E0C9
accent
#B8422E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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