#CD97CE#CD97CE

#CD97CE is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.6% C 0.098 H 325.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CD97CE
RGBrgb(205, 151, 206)
HSLhsl(299, 36%, 70%)
HSVhsv(299, 27%, 81%)
CMYKcmyk(0.5%, 26.7%, 0%, 19.2%)
CIE-LABlab(69.16, 29.38, -20.28)
CIE-LCHlch(69.16, 35.70, 325.38°)
OKLaboklab(74.57% 0.0809 -0.0548)
OKLCHoklch(74.57% 0.098 325.9)
XYZxyz(47.3829, 39.5700, 63.5223)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CE #98CE97
analogous
#B197CE #CD97CE #CE97B4
triadic
#CD97CE #CECD97 #97CECD
tetradic
#CD97CE #CEB197 #98CE97 #97B4CE
square
#CD97CE #CEB197 #98CE97 #97B4CE
split-complementary
#CD97CE #B4CE97 #97CEB1
monochromatic
#9E4B9F #B96DBA #CD97CE #E1C1E2 #F5EAF5

Accessibility & contrast

On white

2.36
#CD97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CD97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CE#FFFFFF#000000##000000
##CD97CE1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D0
Deuteranopia (green-blind)
#A0ABCC
Tritanopia (blue-blind)
#D09CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97ce;
/* rgb */ color: rgb(205, 151, 206);
/* oklch */ color: oklch(74.6% 0.098 325.9);
Tailwind
colors: {
  custom: {
    50: '#ddb6dd',
    500: '#cd97ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd97ce;
$custom-light: #ddb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97ce",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 298.909,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74571,
    "c": 0.09775,
    "h": 325.9
  },
  "luminance": 0.39569
}

Semantic roles & 50–950 ramp

primary
#CD97CE
secondary
#D9E8D9
accent
#AF3739
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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