#CD97C8#CD97C8

#CD97C8 is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.3% C 0.092 H 329.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD97C8
RGBrgb(205, 151, 200)
HSLhsl(306, 35%, 70%)
HSVhsv(306, 26%, 80%)
CMYKcmyk(0%, 26.3%, 2.4%, 19.6%)
CIE-LABlab(68.96, 28.26, -17.27)
CIE-LCHlch(68.96, 33.12, 328.57°)
OKLaboklab(74.35% 0.0791 -0.0464)
OKLCHoklch(74.35% 0.092 329.6)
XYZxyz(46.6679, 39.2840, 59.7567)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97C8 #97CD9C
analogous
#B797CD #CD97C8 #CD97AD
triadic
#CD97C8 #C8CD97 #97C8CD
tetradic
#CD97C8 #CDB797 #97CD9C #97ADCD
square
#CD97C8 #CDB797 #97CD9C #97ADCD
split-complementary
#CD97C8 #ADCD97 #97CDB7
monochromatic
#9E4C96 #B96EB2 #CD97C8 #E1C0DE #F5EAF4

Accessibility & contrast

On white

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

On black

8.86
#CD97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97C8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97C8#FFFFFF#000000##000000
##CD97C81.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#A2ABC6
Tritanopia (blue-blind)
#D19AA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd97c8;
/* rgb */ color: rgb(205, 151, 200);
/* oklch */ color: oklch(74.3% 0.092 329.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6d8',
    500: '#cd97c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd97c8;
$custom-light: #ddb6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97c8",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 305.556,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74345,
    "c": 0.09174,
    "h": 329.6
  },
  "luminance": 0.39282
}

Semantic roles & 50–950 ramp

primary
#CD97C8
secondary
#D8E8DA
accent
#AE4338
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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