#CD97CF#CD97CF

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

Color values

HEX#CD97CF
RGBrgb(205, 151, 207)
HSLhsl(298, 37%, 70%)
HSVhsv(298, 27%, 81%)
CMYKcmyk(1%, 27.1%, 0%, 18.8%)
CIE-LABlab(69.20, 29.57, -20.79)
CIE-LCHlch(69.20, 36.14, 324.89°)
OKLaboklab(74.61% 0.0812 -0.0562)
OKLCHoklch(74.61% 0.099 325.3)
XYZxyz(47.5047, 39.6188, 64.1642)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CF #99CF97
analogous
#B197CF #CD97CF #CF97B5
triadic
#CD97CF #CFCD97 #97CFCD
tetradic
#CD97CF #CFB197 #99CF97 #97B5CF
square
#CD97CF #CFB197 #99CF97 #97B5CF
split-complementary
#CD97CF #B5CF97 #97CFB1
monochromatic
#9E4AA1 #B96DBC #CD97CF #E1C1E2 #F5EAF5

Accessibility & contrast

On white

2.35
#CD97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CD97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CF#FFFFFF#000000##000000
##CD97CF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#9FABCD
Tritanopia (blue-blind)
#D09CAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97cf;
/* rgb */ color: rgb(205, 151, 207);
/* oklch */ color: oklch(74.6% 0.099 325.3);
Tailwind
colors: {
  custom: {
    50: '#ddb6dd',
    500: '#cd97cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd97cf;
$custom-light: #ddb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97cf",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 297.857,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.09878,
    "h": 325.3
  },
  "luminance": 0.39617
}

Semantic roles & 50–950 ramp

primary
#CD97CF
secondary
#DAE9D9
accent
#B0363A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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