#CD99E2#CD99E2

#CD99E2 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.7% C 0.116 H 316.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CD99E2
RGBrgb(205, 153, 226)
HSLhsl(283, 56%, 74%)
HSVhsv(283, 32%, 89%)
CMYKcmyk(9.3%, 32.3%, 0%, 11.4%)
CIE-LABlab(70.35, 32.20, -29.49)
CIE-LCHlch(70.35, 43.67, 317.51°)
OKLaboklab(75.72% 0.0835 -0.0807)
OKLCHoklch(75.72% 0.116 316)
XYZxyz(50.2935, 41.2536, 77.2501)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E2 #AEE299
analogous
#A999E2 #CD99E2 #E299D3
triadic
#CD99E2 #E2CD99 #99E2CD
tetradic
#CD99E2 #E2A999 #AEE299 #99D3E2
square
#CD99E2 #E2A999 #AEE299 #99D3E2
split-complementary
#CD99E2 #D3E299 #99E2A9
monochromatic
#9E3AC7 #B669D4 #CD99E2 #E4C9F0 #F3E7F8

Accessibility & contrast

On white

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

On black

9.25
#CD99E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E2#FFFFFF#000000##000000
##CD99E21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA9E5
Deuteranopia (green-blind)
#9AAEE0
Tritanopia (blue-blind)
#CCA2B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd99e2;
/* rgb */ color: rgb(205, 153, 226);
/* oklch */ color: oklch(75.7% 0.116 316.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7eb',
    500: '#cd99e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e2;
$custom-light: #ddb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e2",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 226
  },
  "hsl": {
    "h": 282.74,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7572,
    "c": 0.1161,
    "h": 316
  },
  "luminance": 0.41253
}

Semantic roles & 50–950 ramp

primary
#CD99E2
secondary
#E1EFDC
accent
#C32251
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E2

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

Preview Lab → · Contrast checker → · Palette generator →

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