#CD97D0#CD97D0

#CD97D0 is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.6% C 0.100 H 324.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD97D0
RGBrgb(205, 151, 208)
HSLhsl(297, 38%, 70%)
HSVhsv(297, 27%, 82%)
CMYKcmyk(1.4%, 27.4%, 0%, 18.4%)
CIE-LABlab(69.23, 29.76, -21.29)
CIE-LCHlch(69.23, 36.59, 324.42°)
OKLaboklab(74.65% 0.0815 -0.0576)
OKLCHoklch(74.65% 0.1 324.8)
XYZxyz(47.6274, 39.6678, 64.8101)
Luminance0.3967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D0 #9AD097
analogous
#B097D0 #CD97D0 #D097B6
triadic
#CD97D0 #D0CD97 #97D0CD
tetradic
#CD97D0 #D0B097 #9AD097 #97B6D0
square
#CD97D0 #D0B097 #9AD097 #97B6D0
split-complementary
#CD97D0 #B6D097 #97D0B0
monochromatic
#9E4AA3 #B96DBD #CD97D0 #E1C1E3 #F5EAF5

Accessibility & contrast

On white

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

On black

8.93
#CD97D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D0
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D0#FFFFFF#000000##000000
##CD97D01.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D2
Deuteranopia (green-blind)
#9FABCE
Tritanopia (blue-blind)
#D09CAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97d0;
/* rgb */ color: rgb(205, 151, 208);
/* oklch */ color: oklch(74.6% 0.100 324.8);
Tailwind
colors: {
  custom: {
    50: '#ddb6de',
    500: '#cd97d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d0;
$custom-light: #ddb6de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d0",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 208
  },
  "hsl": {
    "h": 296.842,
    "s": 37.748,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.09982,
    "h": 324.8
  },
  "luminance": 0.39666
}

Semantic roles & 50–950 ramp

primary
#CD97D0
secondary
#DAE9DA
accent
#B1353B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D0

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

Preview Lab → · Contrast checker → · Palette generator →

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