#CD97CB#CD97CB

#CD97CB is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.5% C 0.095 H 327.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CD97CB
RGBrgb(205, 151, 203)
HSLhsl(302, 35%, 70%)
HSVhsv(302, 26%, 80%)
CMYKcmyk(0%, 26.3%, 1%, 19.6%)
CIE-LABlab(69.06, 28.82, -18.78)
CIE-LCHlch(69.06, 34.40, 326.91°)
OKLaboklab(74.46% 0.0801 -0.0506)
OKLCHoklch(74.46% 0.095 327.7)
XYZxyz(47.0219, 39.4256, 61.6213)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CB #97CD99
analogous
#B497CD #CD97CB #CD97B0
triadic
#CD97CB #CBCD97 #97CBCD
tetradic
#CD97CB #CDB497 #97CD99 #97B0CD
square
#CD97CB #CDB497 #97CD99 #97B0CD
split-complementary
#CD97CB #B0CD97 #97CDB4
monochromatic
#9E4C9B #B96EB6 #CD97CB #E1C0E0 #F5EAF4

Accessibility & contrast

On white

2.36
#CD97CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CD97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CB#FFFFFF#000000##000000
##CD97CB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CD
Deuteranopia (green-blind)
#A1ABC9
Tritanopia (blue-blind)
#D19BA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97cb;
/* rgb */ color: rgb(205, 151, 203);
/* oklch */ color: oklch(74.5% 0.095 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb6db',
    500: '#cd97cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd97cb;
$custom-light: #ddb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97cb",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 302.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74457,
    "c": 0.0947,
    "h": 327.7
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

primary
#CD97CB
secondary
#D8E8D9
accent
#AE3C38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CD97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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