#CD97CD#CD97CD

#CD97CD is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.097 H 326.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CD97CD
RGBrgb(205, 151, 205)
HSLhsl(300, 35%, 70%)
HSVhsv(300, 26%, 80%)
CMYKcmyk(0%, 26.3%, 0%, 19.6%)
CIE-LABlab(69.13, 29.19, -19.78)
CIE-LCHlch(69.13, 35.26, 325.87°)
OKLaboklab(74.53% 0.0807 -0.0534)
OKLCHoklch(74.53% 0.097 326.5)
XYZxyz(47.2618, 39.5216, 62.8846)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97CD #97CD97
analogous
#B297CD #CD97CD #CD97B2
triadic
#CD97CD #CDCD97 #97CDCD
tetradic
#CD97CD #CDB297 #97CD97 #97B2CD
square
#CD97CD #CDB297 #97CD97 #97B2CD
split-complementary
#CD97CD #B2CD97 #97CDB2
monochromatic
#9E4C9E #B96EB9 #CD97CD #E1C0E1 #F5EAF5

Accessibility & contrast

On white

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

On black

8.90
#CD97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97CD
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97CD#FFFFFF#000000##000000
##CD97CD1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5CF
Deuteranopia (green-blind)
#A0ABCB
Tritanopia (blue-blind)
#D09CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97cd;
/* rgb */ color: rgb(205, 151, 205);
/* oklch */ color: oklch(74.5% 0.097 326.5);
Tailwind
colors: {
  custom: {
    50: '#ddb6dc',
    500: '#cd97cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd97cd;
$custom-light: #ddb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97cd",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74532,
    "c": 0.09673,
    "h": 326.5
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#CD97CD
secondary
#D8E8D8
accent
#AE3838
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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