#CD99EF#CD99EF

#CD99EF is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.3% C 0.131 H 311.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CD99EF
RGBrgb(205, 153, 239)
HSLhsl(276, 73%, 77%)
HSVhsv(276, 36%, 94%)
CMYKcmyk(14.2%, 36%, 0%, 6.3%)
CIE-LABlab(70.87, 34.89, -35.82)
CIE-LCHlch(70.87, 50.01, 314.25°)
OKLaboklab(76.28% 0.0866 -0.0987)
OKLCHoklch(76.28% 0.131 311.2)
XYZxyz(52.1453, 41.9944, 87.0033)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99EF #BBEF99
analogous
#A299EF #CD99EF #EF99E6
triadic
#CD99EF #EFCD99 #99EFCD
tetradic
#CD99EF #EFA299 #BBEF99 #99E6EF
square
#CD99EF #EFA299 #BBEF99 #99E6EF
split-complementary
#CD99EF #E6EF99 #99EFA2
monochromatic
#992FDE #B364E7 #CD99EF #E7CEF7 #F2E5FB

Accessibility & contrast

On white

2.23
#CD99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CD99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99EF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99EF#FFFFFF#000000##000000
##CD99EF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF2
Deuteranopia (green-blind)
#95AFEC
Tritanopia (blue-blind)
#CAA5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99ef;
/* rgb */ color: rgb(205, 153, 239);
/* oklch */ color: oklch(76.3% 0.131 311.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7f4',
    500: '#cd99ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd99ef;
$custom-light: #ddb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99ef",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 276.279,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76279,
    "c": 0.1313,
    "h": 311.2
  },
  "luminance": 0.41994
}

Semantic roles & 50–950 ramp

primary
#CD99EF
secondary
#E3F3D8
accent
#D5115E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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