#CD97CC#CD97CC

#CD97CC is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.096 H 327.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CD97CC
RGBrgb(205, 151, 204)
HSLhsl(301, 35%, 70%)
HSVhsv(301, 26%, 80%)
CMYKcmyk(0%, 26.3%, 0.5%, 19.6%)
CIE-LABlab(69.09, 29.00, -19.28)
CIE-LCHlch(69.09, 34.83, 326.38°)
OKLaboklab(74.5% 0.0804 -0.052)
OKLCHoklch(74.5% 0.096 327.1)
XYZxyz(47.1415, 39.4734, 62.2509)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CC #97CD98
analogous
#B397CD #CD97CC #CD97B1
triadic
#CD97CC #CCCD97 #97CCCD
tetradic
#CD97CC #CDB397 #97CD98 #97B1CD
square
#CD97CC #CDB397 #97CD98 #97B1CD
split-complementary
#CD97CC #B1CD97 #97CDB3
monochromatic
#9E4C9C #B96EB8 #CD97CC #E1C0E0 #F5EAF5

Accessibility & contrast

On white

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

On black

8.89
#CD97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CC#FFFFFF#000000##000000
##CD97CC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CE
Deuteranopia (green-blind)
#A0ABCA
Tritanopia (blue-blind)
#D19BAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97cc;
/* rgb */ color: rgb(205, 151, 204);
/* oklch */ color: oklch(74.5% 0.096 327.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6db',
    500: '#cd97cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd97cc;
$custom-light: #ddb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97cc",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 301.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74495,
    "c": 0.09571,
    "h": 327.1
  },
  "luminance": 0.39472
}

Semantic roles & 50–950 ramp

primary
#CD97CC
secondary
#D8E8D9
accent
#AE3A38
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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