#CD99E5#CD99E5

#CD99E5 is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.8% C 0.120 H 314.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD99E5
RGBrgb(205, 153, 229)
HSLhsl(281, 59%, 75%)
HSVhsv(281, 33%, 90%)
CMYKcmyk(10.5%, 33.2%, 0%, 10.2%)
CIE-LABlab(70.47, 32.81, -30.96)
CIE-LCHlch(70.47, 45.12, 316.66°)
OKLaboklab(75.85% 0.0842 -0.0849)
OKLCHoklch(75.85% 0.12 314.8)
XYZxyz(50.7087, 41.4197, 79.4371)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E5 #B1E599
analogous
#A799E5 #CD99E5 #E599D7
triadic
#CD99E5 #E5CD99 #99E5CD
tetradic
#CD99E5 #E5A799 #B1E599 #99D7E5
square
#CD99E5 #E5A799 #B1E599 #99D7E5
split-complementary
#CD99E5 #D7E599 #99E5A7
monochromatic
#9D37CC #B568D9 #CD99E5 #E5CAF1 #F3E7F9

Accessibility & contrast

On white

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

On black

9.28
#CD99E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E5
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E5#FFFFFF#000000##000000
##CD99E51.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA9E8
Deuteranopia (green-blind)
#99AEE3
Tritanopia (blue-blind)
#CCA3B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd99e5;
/* rgb */ color: rgb(205, 153, 229);
/* oklch */ color: oklch(75.8% 0.120 314.8);
Tailwind
colors: {
  custom: {
    50: '#ddb7ed',
    500: '#cd99e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e5;
$custom-light: #ddb7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e5",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 229
  },
  "hsl": {
    "h": 281.053,
    "s": 59.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75846,
    "c": 0.11957,
    "h": 314.8
  },
  "luminance": 0.41419
}

Semantic roles & 50–950 ramp

primary
#CD99E5
secondary
#E2F0DB
accent
#C71E54
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E5

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

Preview Lab → · Contrast checker → · Palette generator →

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