#CD99E7#CD99E7

#CD99E7 is a light, vivid purple. Relative luminance 0.415; OKLCH L 75.9% C 0.122 H 314.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CD99E7
RGBrgb(205, 153, 231)
HSLhsl(280, 62%, 75%)
HSVhsv(280, 34%, 91%)
CMYKcmyk(11.3%, 33.8%, 0%, 9.4%)
CIE-LABlab(70.55, 33.22, -31.94)
CIE-LCHlch(70.55, 46.09, 316.13°)
OKLaboklab(75.93% 0.0847 -0.0876)
OKLCHoklch(75.93% 0.122 314)
XYZxyz(50.9896, 41.5321, 80.9162)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E7 #B3E799
analogous
#A699E7 #CD99E7 #E799DA
triadic
#CD99E7 #E7CD99 #99E7CD
tetradic
#CD99E7 #E7A699 #B3E799 #99DAE7
square
#CD99E7 #E7A699 #B3E799 #99DAE7
split-complementary
#CD99E7 #DAE799 #99E7A6
monochromatic
#9C36D0 #B567DB #CD99E7 #E5CBF3 #F3E6F9

Accessibility & contrast

On white

2.26
#CD99E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CD99E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E7#FFFFFF#000000##000000
##CD99E71.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAAEA
Deuteranopia (green-blind)
#98AEE5
Tritanopia (blue-blind)
#CBA3B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99e7;
/* rgb */ color: rgb(205, 153, 231);
/* oklch */ color: oklch(75.9% 0.122 314.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7ef',
    500: '#cd99e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e7;
$custom-light: #ddb7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e7",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 231
  },
  "hsl": {
    "h": 280,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75931,
    "c": 0.12189,
    "h": 314
  },
  "luminance": 0.41531
}

Semantic roles & 50–950 ramp

primary
#CD99E7
secondary
#E2F1DA
accent
#CA1C56
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E7

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

Preview Lab → · Contrast checker → · Palette generator →

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