#CD97D8#CD97D8

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

Color values

HEX#CD97D8
RGBrgb(205, 151, 216)
HSLhsl(290, 45%, 72%)
HSVhsv(290, 30%, 85%)
CMYKcmyk(5.1%, 30.1%, 0%, 15.3%)
CIE-LABlab(69.52, 31.30, -25.27)
CIE-LCHlch(69.52, 40.23, 321.09°)
OKLaboklab(74.96% 0.0838 -0.0688)
OKLCHoklch(74.96% 0.108 320.6)
XYZxyz(48.6365, 40.0715, 70.1249)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D8 #A2D897
analogous
#AD97D8 #CD97D8 #D897C3
triadic
#CD97D8 #D8CD97 #97D8CD
tetradic
#CD97D8 #D8AD97 #A2D897 #97C3D8
square
#CD97D8 #D8AD97 #A2D897 #97C3D8
split-complementary
#CD97D8 #C3D897 #97D8AD
monochromatic
#9F43B2 #B86AC7 #CD97D8 #E2C4E9 #F4E9F7

Accessibility & contrast

On white

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

On black

9.01
#CD97D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D8#FFFFFF#000000##000000
##CD97D81.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A6DB
Deuteranopia (green-blind)
#9CACD6
Tritanopia (blue-blind)
#CE9EAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd97d8;
/* rgb */ color: rgb(205, 151, 216);
/* oklch */ color: oklch(75.0% 0.108 320.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6e4',
    500: '#cd97d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d8;
$custom-light: #ddb6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d8",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 216
  },
  "hsl": {
    "h": 289.846,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74962,
    "c": 0.10838,
    "h": 320.6
  },
  "luminance": 0.4007
}

Semantic roles & 50–950 ramp

primary
#CD97D8
secondary
#E0EEDD
accent
#B92D45
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D8

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

Preview Lab → · Contrast checker → · Palette generator →

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