#CD99FD#CD99FD

#CD99FD is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.9% C 0.148 H 307.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CD99FD
RGBrgb(205, 153, 253)
HSLhsl(271, 96%, 80%)
HSVhsv(271, 40%, 99%)
CMYKcmyk(19%, 39.5%, 0%, 0.8%)
CIE-LABlab(71.46, 37.90, -42.53)
CIE-LCHlch(71.46, 56.97, 311.71°)
OKLaboklab(76.92% 0.0895 -0.118)
OKLCHoklch(76.92% 0.148 307.2)
XYZxyz(54.2942, 42.8539, 98.3208)
Luminance0.4285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99FD #C9FD99
analogous
#9B99FD #CD99FD #FD99FB
triadic
#CD99FD #FDCD99 #99FDCD
tetradic
#CD99FD #FD9B99 #C9FD99 #99FBFD
square
#CD99FD #FD9B99 #C9FD99 #99FBFD
split-complementary
#CD99FD #FBFD99 #99FD9B
monochromatic
#9221FB #B05DFC #CD99FD #EAD5FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.57
#CD99FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99FD
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99FD#FFFFFF#000000##000000
##CD99FD1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#C6A8BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd99fd;
/* rgb */ color: rgb(205, 153, 253);
/* oklch */ color: oklch(76.9% 0.148 307.2);
Tailwind
colors: {
  custom: {
    50: '#deb8fe',
    500: '#cd99fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd99fd;
$custom-light: #deb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99fd",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 271.2,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.14807,
    "h": 307.2
  },
  "luminance": 0.42853
}

Semantic roles & 50–950 ramp

primary
#CD99FD
secondary
#E5F7D4
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD99FD

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

Preview Lab → · Contrast checker → · Palette generator →

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