#CD99ED#CD99ED

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

Color values

HEX#CD99ED
RGBrgb(205, 153, 237)
HSLhsl(277, 70%, 76%)
HSVhsv(277, 35%, 93%)
CMYKcmyk(13.5%, 35.4%, 0%, 7.1%)
CIE-LABlab(70.79, 34.47, -34.85)
CIE-LCHlch(70.79, 49.02, 314.69°)
OKLaboklab(76.19% 0.0861 -0.096)
OKLCHoklch(76.19% 0.129 311.9)
XYZxyz(51.8515, 41.8768, 85.4559)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99ED #B9ED99
analogous
#A399ED #CD99ED #ED99E3
triadic
#CD99ED #EDCD99 #99EDCD
tetradic
#CD99ED #EDA399 #B9ED99 #99E3ED
square
#CD99ED #EDA399 #B9ED99 #99E3ED
split-complementary
#CD99ED #E3ED99 #99EDA3
monochromatic
#9A31DB #B465E4 #CD99ED #E7CDF6 #F2E5FA

Accessibility & contrast

On white

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

On black

9.38
#CD99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99ED
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99ED#FFFFFF#000000##000000
##CD99ED1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#96AEEB
Tritanopia (blue-blind)
#CAA4B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99ed;
/* rgb */ color: rgb(205, 153, 237);
/* oklch */ color: oklch(76.2% 0.129 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb7f3',
    500: '#cd99ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd99ed;
$custom-light: #ddb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99ed",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 277.143,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.12894,
    "h": 311.9
  },
  "luminance": 0.41876
}

Semantic roles & 50–950 ramp

primary
#CD99ED
secondary
#E3F2D9
accent
#D2145C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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