#CD99EE#CD99EE

#CD99EE is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.2% C 0.130 H 311.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CD99EE
RGBrgb(205, 153, 238)
HSLhsl(277, 71%, 77%)
HSVhsv(277, 36%, 93%)
CMYKcmyk(13.9%, 35.7%, 0%, 6.7%)
CIE-LABlab(70.83, 34.68, -35.34)
CIE-LCHlch(70.83, 49.51, 314.46°)
OKLaboklab(76.24% 0.0863 -0.0974)
OKLCHoklch(76.24% 0.13 311.6)
XYZxyz(51.9980, 41.9354, 86.2274)
Luminance0.4194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99EE #BAEE99
analogous
#A399EE #CD99EE #EE99E5
triadic
#CD99EE #EECD99 #99EECD
tetradic
#CD99EE #EEA399 #BAEE99 #99E5EE
square
#CD99EE #EEA399 #BAEE99 #99E5EE
split-complementary
#CD99EE #E5EE99 #99EEA3
monochromatic
#9A30DD #B365E5 #CD99EE #E7CDF7 #F2E5FB

Accessibility & contrast

On white

2.24
#CD99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CD99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99EE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99EE#FFFFFF#000000##000000
##CD99EE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF1
Deuteranopia (green-blind)
#96AEEC
Tritanopia (blue-blind)
#CAA5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99ee;
/* rgb */ color: rgb(205, 153, 238);
/* oklch */ color: oklch(76.2% 0.130 311.6);
Tailwind
colors: {
  custom: {
    50: '#ddb7f4',
    500: '#cd99ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd99ee;
$custom-light: #ddb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99ee",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 276.706,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76235,
    "c": 0.13012,
    "h": 311.6
  },
  "luminance": 0.41935
}

Semantic roles & 50–950 ramp

primary
#CD99EE
secondary
#E3F2D9
accent
#D3125D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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