#CD99E4#CD99E4

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

Color values

HEX#CD99E4
RGBrgb(205, 153, 228)
HSLhsl(282, 58%, 75%)
HSVhsv(282, 33%, 89%)
CMYKcmyk(10.1%, 32.9%, 0%, 10.6%)
CIE-LABlab(70.43, 32.61, -30.47)
CIE-LCHlch(70.43, 44.63, 316.94°)
OKLaboklab(75.8% 0.084 -0.0835)
OKLCHoklch(75.8% 0.118 315.2)
XYZxyz(50.5695, 41.3640, 78.7039)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E4 #B0E499
analogous
#A899E4 #CD99E4 #E499D6
triadic
#CD99E4 #E4CD99 #99E4CD
tetradic
#CD99E4 #E4A899 #B0E499 #99D6E4
square
#CD99E4 #E4A899 #B0E499 #99D6E4
split-complementary
#CD99E4 #D6E499 #99E4A8
monochromatic
#9E38CA #B569D7 #CD99E4 #E5C9F1 #F3E7F9

Accessibility & contrast

On white

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

On black

9.27
#CD99E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E4
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E4#FFFFFF#000000##000000
##CD99E41.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd99e4;
/* rgb */ color: rgb(205, 153, 228);
/* oklch */ color: oklch(75.8% 0.118 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7ec',
    500: '#cd99e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e4;
$custom-light: #ddb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e4",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 228
  },
  "hsl": {
    "h": 281.6,
    "s": 58.14,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75804,
    "c": 0.11841,
    "h": 315.2
  },
  "luminance": 0.41363
}

Semantic roles & 50–950 ramp

primary
#CD99E4
secondary
#E1F0DB
accent
#C62053
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E4

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

Preview Lab → · Contrast checker → · Palette generator →

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