#CD99D4#CD99D4

#CD99D4 is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.2% C 0.100 H 322.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CD99D4
RGBrgb(205, 153, 212)
HSLhsl(293, 41%, 72%)
HSVhsv(293, 28%, 83%)
CMYKcmyk(3.3%, 27.8%, 0%, 16.9%)
CIE-LABlab(69.84, 29.43, -22.58)
CIE-LCHlch(69.84, 37.09, 322.51°)
OKLaboklab(75.16% 0.0797 -0.0612)
OKLCHoklch(75.16% 0.1 322.5)
XYZxyz(48.4503, 40.5163, 67.5428)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99D4 #A0D499
analogous
#B099D4 #CD99D4 #D499BE
triadic
#CD99D4 #D4CD99 #99D4CD
tetradic
#CD99D4 #D4B099 #A0D499 #99BED4
square
#CD99D4 #D4B099 #A0D499 #99BED4
split-complementary
#CD99D4 #BED499 #99D4B0
monochromatic
#9F48AB #B86EC2 #CD99D4 #E2C4E6 #F4E9F6

Accessibility & contrast

On white

2.31
#CD99D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CD99D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99D4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99D4#FFFFFF#000000##000000
##CD99D41.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A7D6
Deuteranopia (green-blind)
#9FADD2
Tritanopia (blue-blind)
#CF9FAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd99d4;
/* rgb */ color: rgb(205, 153, 212);
/* oklch */ color: oklch(75.2% 0.100 322.5);
Tailwind
colors: {
  custom: {
    50: '#ddb7e1',
    500: '#cd99d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd99d4;
$custom-light: #ddb7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99d4",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 212
  },
  "hsl": {
    "h": 292.881,
    "s": 40.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75155,
    "c": 0.10047,
    "h": 322.5
  },
  "luminance": 0.40515
}

Semantic roles & 50–950 ramp

primary
#CD99D4
secondary
#DFECDD
accent
#B43241
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD99D4

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

Preview Lab → · Contrast checker → · Palette generator →

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