#CD99F6#CD99F6

#CD99F6 is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.6% C 0.140 H 309.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CD99F6
RGBrgb(205, 153, 246)
HSLhsl(274, 84%, 78%)
HSVhsv(274, 38%, 96%)
CMYKcmyk(16.7%, 37.8%, 0%, 3.5%)
CIE-LABlab(71.16, 36.38, -39.19)
CIE-LCHlch(71.16, 53.47, 312.88°)
OKLaboklab(76.59% 0.0881 -0.1084)
OKLCHoklch(76.59% 0.14 309.1)
XYZxyz(53.1995, 42.4160, 92.5555)
Luminance0.4242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F6 #C2F699
analogous
#9E99F6 #CD99F6 #F699F1
triadic
#CD99F6 #F6CD99 #99F6CD
tetradic
#CD99F6 #F69E99 #C2F699 #99F1F6
square
#CD99F6 #F69E99 #C2F699 #99F1F6
split-complementary
#CD99F6 #F1F699 #99F69E
monochromatic
#9629EC #B161F1 #CD99F6 #E9D1FB #F1E3FD

Accessibility & contrast

On white

2.21
#CD99F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CD99F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F6
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F6#FFFFFF#000000##000000
##CD99F61.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#92AFF3
Tritanopia (blue-blind)
#C8A7BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd99f6;
/* rgb */ color: rgb(205, 153, 246);
/* oklch */ color: oklch(76.6% 0.140 309.1);
Tailwind
colors: {
  custom: {
    50: '#ddb7f9',
    500: '#cd99f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f6;
$custom-light: #ddb7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f6",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 246
  },
  "hsl": {
    "h": 273.548,
    "s": 83.784,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76594,
    "c": 0.13965,
    "h": 309.1
  },
  "luminance": 0.42415
}

Semantic roles & 50–950 ramp

primary
#CD99F6
secondary
#E4F4D7
accent
#E00566
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F6

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

Preview Lab → · Contrast checker → · Palette generator →

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