#CD97CA#CD97CA

#CD97CA is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.4% C 0.094 H 328.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CD97CA
RGBrgb(205, 151, 202)
HSLhsl(303, 35%, 70%)
HSVhsv(303, 26%, 80%)
CMYKcmyk(0%, 26.3%, 1.5%, 19.6%)
CIE-LABlab(69.02, 28.63, -18.28)
CIE-LCHlch(69.02, 33.97, 327.45°)
OKLaboklab(74.42% 0.0798 -0.0492)
OKLCHoklch(74.42% 0.094 328.3)
XYZxyz(46.9031, 39.3781, 60.9957)
Luminance0.3938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CA #97CD9A
analogous
#B597CD #CD97CA #CD97AF
triadic
#CD97CA #CACD97 #97CACD
tetradic
#CD97CA #CDB597 #97CD9A #97AFCD
square
#CD97CA #CDB597 #97CD9A #97AFCD
split-complementary
#CD97CA #AFCD97 #97CDB5
monochromatic
#9E4C99 #B96EB5 #CD97CA #E1C0DF #F5EAF4

Accessibility & contrast

On white

2.37
#CD97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CD97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CA#FFFFFF#000000##000000
##CD97CA1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CC
Deuteranopia (green-blind)
#A1ABC8
Tritanopia (blue-blind)
#D19BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd97ca;
/* rgb */ color: rgb(205, 151, 202);
/* oklch */ color: oklch(74.4% 0.094 328.3);
Tailwind
colors: {
  custom: {
    50: '#ddb6da',
    500: '#cd97ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd97ca;
$custom-light: #ddb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97ca",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 303.333,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7442,
    "c": 0.09371,
    "h": 328.3
  },
  "luminance": 0.39377
}

Semantic roles & 50–950 ramp

primary
#CD97CA
secondary
#D8E8D9
accent
#AE3E38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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