#CD97D7#CD97D7

#CD97D7 is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.9% C 0.107 H 321.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CD97D7
RGBrgb(205, 151, 215)
HSLhsl(291, 44%, 72%)
HSVhsv(291, 30%, 84%)
CMYKcmyk(4.7%, 29.8%, 0%, 15.7%)
CIE-LABlab(69.48, 31.11, -24.77)
CIE-LCHlch(69.48, 39.77, 321.47°)
OKLaboklab(74.92% 0.0835 -0.0674)
OKLCHoklch(74.92% 0.107 321.1)
XYZxyz(48.5076, 40.0199, 69.4461)
Luminance0.4002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D7 #A1D797
analogous
#AD97D7 #CD97D7 #D797C1
triadic
#CD97D7 #D7CD97 #97D7CD
tetradic
#CD97D7 #D7AD97 #A1D797 #97C1D7
square
#CD97D7 #D7AD97 #A1D797 #97C1D7
split-complementary
#CD97D7 #C1D797 #97D7AD
monochromatic
#9F44B0 #B86BC6 #CD97D7 #E2C3E8 #F4E9F6

Accessibility & contrast

On white

2.33
#CD97D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CD97D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D7#FFFFFF#000000##000000
##CD97D71.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A6DA
Deuteranopia (green-blind)
#9DACD5
Tritanopia (blue-blind)
#CF9EAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd97d7;
/* rgb */ color: rgb(205, 151, 215);
/* oklch */ color: oklch(74.9% 0.107 321.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6e3',
    500: '#cd97d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d7;
$custom-light: #ddb6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d7",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 215
  },
  "hsl": {
    "h": 290.625,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74922,
    "c": 0.10729,
    "h": 321.1
  },
  "luminance": 0.40019
}

Semantic roles & 50–950 ramp

primary
#CD97D7
secondary
#DFEDDD
accent
#B82E43
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D7

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

Preview Lab → · Contrast checker → · Palette generator →

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