#CD97D9#CD97D9

#CD97D9 is a light, moderate purple. Relative luminance 0.401; OKLCH L 75.0% C 0.109 H 320.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD97D9
RGBrgb(205, 151, 217)
HSLhsl(289, 46%, 72%)
HSVhsv(289, 30%, 85%)
CMYKcmyk(5.5%, 30.4%, 0%, 14.9%)
CIE-LABlab(69.56, 31.50, -25.76)
CIE-LCHlch(69.56, 40.69, 320.72°)
OKLaboklab(75% 0.0841 -0.0701)
OKLCHoklch(75% 0.109 320.2)
XYZxyz(48.7662, 40.1233, 70.8079)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D9 #A3D997
analogous
#AC97D9 #CD97D9 #D997C4
triadic
#CD97D9 #D9CD97 #97D9CD
tetradic
#CD97D9 #D9AC97 #A3D997 #97C4D9
square
#CD97D9 #D9AC97 #A3D997 #97C4D9
split-complementary
#CD97D9 #C4D997 #97D9AC
monochromatic
#9F42B4 #B76AC9 #CD97D9 #E3C4E9 #F4E9F7

Accessibility & contrast

On white

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

On black

9.02
#CD97D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D9
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D9#FFFFFF#000000##000000
##CD97D91.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA6DC
Deuteranopia (green-blind)
#9CACD7
Tritanopia (blue-blind)
#CE9EAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd97d9;
/* rgb */ color: rgb(205, 151, 217);
/* oklch */ color: oklch(75.0% 0.109 320.2);
Tailwind
colors: {
  custom: {
    50: '#ddb6e5',
    500: '#cd97d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d9;
$custom-light: #ddb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d9",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 217
  },
  "hsl": {
    "h": 289.091,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75002,
    "c": 0.10949,
    "h": 320.2
  },
  "luminance": 0.40122
}

Semantic roles & 50–950 ramp

primary
#CD97D9
secondary
#E0EEDD
accent
#BA2C46
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CD97D9

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

Preview Lab → · Contrast checker → · Palette generator →

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