#CD7CC2#CD7CC2

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

Color values

HEX#CD7CC2
RGBrgb(205, 124, 194)
HSLhsl(308, 45%, 65%)
HSVhsv(308, 40%, 80%)
CMYKcmyk(0%, 39.5%, 5.4%, 19.6%)
CIE-LABlab(62.75, 41.75, -23.35)
CIE-LCHlch(62.75, 47.84, 330.78°)
OKLaboklab(69.57% 0.1186 -0.0631)
OKLCHoklch(69.57% 0.134 332)
XYZxyz(42.1217, 31.2916, 54.8497)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC2 #7CCD87
analogous
#B07CCD #CD7CC2 #CD7C9A
triadic
#CD7CC2 #C2CD7C #7CC2CD
tetradic
#CD7CC2 #CDB07C #7CCD87 #7C9ACD
square
#CD7CC2 #CDB07C #7CCD87 #7C9ACD
split-complementary
#CD7CC2 #9ACD7C #7CCDB0
monochromatic
#963989 #BC50AD #CD7CC2 #DEA8D7 #EFD5EB

Accessibility & contrast

On white

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

On black

7.26
#CD7CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC2#FFFFFF#000000##000000
##CD7CC21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7cc2;
/* rgb */ color: rgb(205, 124, 194);
/* oklch */ color: oklch(69.6% 0.134 332.0);
Tailwind
colors: {
  custom: {
    50: '#dea3d4',
    500: '#cd7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc2;
$custom-light: #dea3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc2",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 308.148,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.13438,
    "h": 332
  },
  "luminance": 0.31289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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