#CD99E9#CD99E9

#CD99E9 is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.124 H 313.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CD99E9
RGBrgb(205, 153, 233)
HSLhsl(279, 65%, 76%)
HSVhsv(279, 34%, 91%)
CMYKcmyk(12%, 34.3%, 0%, 8.6%)
CIE-LABlab(70.63, 33.64, -32.91)
CIE-LCHlch(70.63, 47.06, 315.63°)
OKLaboklab(76.02% 0.0852 -0.0904)
OKLCHoklch(76.02% 0.124 313.3)
XYZxyz(51.2736, 41.6457, 82.4124)
Luminance0.4164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99E9 #B5E999
analogous
#A599E9 #CD99E9 #E999DD
triadic
#CD99E9 #E9CD99 #99E9CD
tetradic
#CD99E9 #E9A599 #B5E999 #99DDE9
square
#CD99E9 #E9A599 #B5E999 #99DDE9
split-complementary
#CD99E9 #DDE999 #99E9A5
monochromatic
#9C34D3 #B467DE #CD99E9 #E6CBF4 #F3E6FA

Accessibility & contrast

On white

2.25
#CD99E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CD99E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99E9
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99E9#FFFFFF#000000##000000
##CD99E91.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEC
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#CBA4B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99e9;
/* rgb */ color: rgb(205, 153, 233);
/* oklch */ color: oklch(76.0% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#ddb7f0',
    500: '#cd99e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd99e9;
$custom-light: #ddb7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99e9",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 233
  },
  "hsl": {
    "h": 279,
    "s": 64.516,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76017,
    "c": 0.12423,
    "h": 313.3
  },
  "luminance": 0.41645
}

Semantic roles & 50–950 ramp

primary
#CD99E9
secondary
#E2F1DA
accent
#CC1958
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99E9

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

Preview Lab → · Contrast checker → · Palette generator →

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