#CD99E1#CD99E1

#CD99E1 is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.7% C 0.115 H 316.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CD99E1
RGBrgb(205, 153, 225)
HSLhsl(283, 55%, 74%)
HSVhsv(283, 32%, 88%)
CMYKcmyk(8.9%, 32%, 0%, 11.8%)
CIE-LABlab(70.32, 32.00, -29.00)
CIE-LCHlch(70.32, 43.19, 317.81°)
OKLaboklab(75.68% 0.0832 -0.0793)
OKLCHoklch(75.68% 0.115 316.4)
XYZxyz(50.1567, 41.1989, 76.5296)
Luminance0.4120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E1 #ADE199
analogous
#A999E1 #CD99E1 #E199D1
triadic
#CD99E1 #E1CD99 #99E1CD
tetradic
#CD99E1 #E1A999 #ADE199 #99D1E1
square
#CD99E1 #E1A999 #ADE199 #99D1E1
split-complementary
#CD99E1 #D1E199 #99E1A9
monochromatic
#9F3AC5 #B66AD3 #CD99E1 #E4C8EF #F3E7F8

Accessibility & contrast

On white

2.27
#CD99E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CD99E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E1
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E1#FFFFFF#000000##000000
##CD99E11.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA9E4
Deuteranopia (green-blind)
#9BAEDF
Tritanopia (blue-blind)
#CDA2B3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd99e1;
/* rgb */ color: rgb(205, 153, 225);
/* oklch */ color: oklch(75.7% 0.115 316.4);
Tailwind
colors: {
  custom: {
    50: '#ddb7ea',
    500: '#cd99e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e1;
$custom-light: #ddb7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e1",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 225
  },
  "hsl": {
    "h": 283.333,
    "s": 54.545,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75678,
    "c": 0.11495,
    "h": 316.4
  },
  "luminance": 0.41198
}

Semantic roles & 50–950 ramp

primary
#CD99E1
secondary
#E1EFDC
accent
#C22350
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E1

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

Preview Lab → · Contrast checker → · Palette generator →

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