#CD99DF#CD99DF

#CD99DF is a light, moderate purple. Relative luminance 0.411; OKLCH L 75.6% C 0.113 H 317.2°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CD99DF
RGBrgb(205, 153, 223)
HSLhsl(285, 52%, 74%)
HSVhsv(285, 31%, 87%)
CMYKcmyk(8.1%, 31.4%, 0%, 12.5%)
CIE-LABlab(70.24, 31.60, -28.02)
CIE-LCHlch(70.24, 42.23, 318.43°)
OKLaboklab(75.6% 0.0827 -0.0765)
OKLCHoklch(75.6% 0.113 317.2)
XYZxyz(49.8854, 41.0904, 75.1011)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99DF #ABDF99
analogous
#AA99DF #CD99DF #DF99CE
triadic
#CD99DF #DFCD99 #99DFCD
tetradic
#CD99DF #DFAA99 #ABDF99 #99CEDF
square
#CD99DF #DFAA99 #ABDF99 #99CEDF
split-complementary
#CD99DF #CEDF99 #99DFAA
monochromatic
#9F3DC1 #B66AD0 #CD99DF #E4C8EE #F4E8F8

Accessibility & contrast

On white

2.28
#CD99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#CD99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99DF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99DF#FFFFFF#000000##000000
##CD99DF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E2
Deuteranopia (green-blind)
#9CADDD
Tritanopia (blue-blind)
#CDA1B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd99df;
/* rgb */ color: rgb(205, 153, 223);
/* oklch */ color: oklch(75.6% 0.113 317.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7e9',
    500: '#cd99df',
    950: '#000000',
  },
}
SCSS
$custom: #cd99df;
$custom-light: #ddb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99df",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 284.571,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75595,
    "c": 0.11267,
    "h": 317.2
  },
  "luminance": 0.41089
}

Semantic roles & 50–950 ramp

primary
#CD99DF
secondary
#E1EFDC
accent
#C0264D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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