#CD99FF#CD99FF

#CD99FF is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.0% C 0.150 H 306.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CD99FF
RGBrgb(205, 153, 255)
HSLhsl(271, 100%, 80%)
HSVhsv(271, 40%, 100%)
CMYKcmyk(19.6%, 40%, 0%, 0%)
CIE-LABlab(71.54, 38.34, -43.48)
CIE-LCHlch(71.54, 57.97, 311.41°)
OKLaboklab(77.01% 0.0898 -0.1207)
OKLCHoklch(77.01% 0.15 306.7)
XYZxyz(54.6145, 42.9820, 100.0076)
Luminance0.4298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99FF #CBFF99
analogous
#9A99FF #CD99FF #FF99FE
triadic
#CD99FF #FFCD99 #99FFCD
tetradic
#CD99FF #FF9A99 #CBFF99 #99FEFF
square
#CD99FF #FF9A99 #CBFF99 #99FEFF
split-complementary
#CD99FF #FEFF99 #99FF9A
monochromatic
#911FFF #AF5CFF #CD99FF #EBD6FF #F0E0FF

Accessibility & contrast

On white

2.19
#CD99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CD99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99FF
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99FF#FFFFFF#000000##000000
##CD99FF1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#C6A9C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd99ff;
/* rgb */ color: rgb(205, 153, 255);
/* oklch */ color: oklch(77.0% 0.150 306.7);
Tailwind
colors: {
  custom: {
    50: '#deb8ff',
    500: '#cd99ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd99ff;
$custom-light: #deb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99ff",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 270.588,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.77012,
    "c": 0.15049,
    "h": 306.7
  },
  "luminance": 0.42982
}

Semantic roles & 50–950 ramp

primary
#CD99FF
secondary
#E5F7D4
accent
#E60071
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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