#CD99F9#CD99F9

#CD99F9 is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.143 H 308.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CD99F9
RGBrgb(205, 153, 249)
HSLhsl(273, 89%, 79%)
HSVhsv(273, 39%, 98%)
CMYKcmyk(17.7%, 38.6%, 0%, 2.4%)
CIE-LABlab(71.28, 37.03, -40.62)
CIE-LCHlch(71.28, 54.97, 312.35°)
OKLaboklab(76.73% 0.0887 -0.1125)
OKLCHoklch(76.73% 0.143 308.2)
XYZxyz(53.6637, 42.6017, 95.0001)
Luminance0.4260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F9 #C5F999
analogous
#9D99F9 #CD99F9 #F999F5
triadic
#CD99F9 #F9CD99 #99F9CD
tetradic
#CD99F9 #F99D99 #C5F999 #99F5F9
square
#CD99F9 #F99D99 #C5F999 #99F5F9
split-complementary
#CD99F9 #F5F999 #99F99D
monochromatic
#9425F2 #B15FF6 #CD99F9 #E9D3FC #F1E2FD

Accessibility & contrast

On white

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

On black

9.52
#CD99F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F9
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F9#FFFFFF#000000##000000
##CD99F91.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#C7A7BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd99f9;
/* rgb */ color: rgb(205, 153, 249);
/* oklch */ color: oklch(76.7% 0.143 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7fb',
    500: '#cd99f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f9;
$custom-light: #ddb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f9",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 272.5,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76731,
    "c": 0.14326,
    "h": 308.2
  },
  "luminance": 0.42601
}

Semantic roles & 50–950 ramp

primary
#CD99F9
secondary
#E4F5D6
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F9

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

Preview Lab → · Contrast checker → · Palette generator →

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