#CD97D3#CD97D3

#CD97D3 is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.8% C 0.103 H 323.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD97D3
RGBrgb(205, 151, 211)
HSLhsl(294, 41%, 71%)
HSVhsv(294, 28%, 83%)
CMYKcmyk(2.8%, 28.4%, 0%, 17.3%)
CIE-LABlab(69.34, 30.33, -22.78)
CIE-LCHlch(69.34, 37.94, 323.09°)
OKLaboklab(74.76% 0.0824 -0.0618)
OKLCHoklch(74.76% 0.103 323.1)
XYZxyz(48.0000, 39.8168, 66.7723)
Luminance0.3982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D3 #9DD397
analogous
#AF97D3 #CD97D3 #D397BB
triadic
#CD97D3 #D3CD97 #97D3CD
tetradic
#CD97D3 #D3AF97 #9DD397 #97BBD3
square
#CD97D3 #D3AF97 #9DD397 #97BBD3
split-complementary
#CD97D3 #BBD397 #97D3AF
monochromatic
#9F47A8 #B86CC1 #CD97D3 #E2C2E5 #F5E9F6

Accessibility & contrast

On white

2.34
#CD97D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CD97D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D3#FFFFFF#000000##000000
##CD97D31.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D5
Deuteranopia (green-blind)
#9EACD1
Tritanopia (blue-blind)
#CF9DAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97d3;
/* rgb */ color: rgb(205, 151, 211);
/* oklch */ color: oklch(74.8% 0.103 323.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6e0',
    500: '#cd97d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d3;
$custom-light: #ddb6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d3",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 294,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.10298,
    "h": 323.1
  },
  "luminance": 0.39816
}

Semantic roles & 50–950 ramp

primary
#CD97D3
secondary
#DDEBDB
accent
#B4323F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D3

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

Preview Lab → · Contrast checker → · Palette generator →

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