#CD97D5#CD97D5

#CD97D5 is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.8% C 0.105 H 322.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CD97D5
RGBrgb(205, 151, 213)
HSLhsl(292, 42%, 71%)
HSVhsv(292, 29%, 84%)
CMYKcmyk(3.8%, 29.1%, 0%, 16.5%)
CIE-LABlab(69.41, 30.72, -23.78)
CIE-LCHlch(69.41, 38.85, 322.26°)
OKLaboklab(74.84% 0.083 -0.0646)
OKLCHoklch(74.84% 0.105 322.1)
XYZxyz(48.2522, 39.9178, 68.1010)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D5 #9FD597
analogous
#AE97D5 #CD97D5 #D597BE
triadic
#CD97D5 #D5CD97 #97D5CD
tetradic
#CD97D5 #D5AE97 #9FD597 #97BED5
square
#CD97D5 #D5AE97 #9FD597 #97BED5
split-complementary
#CD97D5 #BED597 #97D5AE
monochromatic
#9F46AC #B86BC3 #CD97D5 #E2C3E7 #F5E9F6

Accessibility & contrast

On white

2.34
#CD97D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CD97D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D5
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D5#FFFFFF#000000##000000
##CD97D51.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A6D7
Deuteranopia (green-blind)
#9DACD3
Tritanopia (blue-blind)
#CF9DAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97d5;
/* rgb */ color: rgb(205, 151, 213);
/* oklch */ color: oklch(74.8% 0.105 322.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6e2',
    500: '#cd97d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d5;
$custom-light: #ddb6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d5",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 213
  },
  "hsl": {
    "h": 292.258,
    "s": 42.466,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74842,
    "c": 0.10513,
    "h": 322.1
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#CD97D5
secondary
#DEECDC
accent
#B63041
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D5

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

Preview Lab → · Contrast checker → · Palette generator →

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