#CD99F3#CD99F3

#CD99F3 is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.5% C 0.136 H 310.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CD99F3
RGBrgb(205, 153, 243)
HSLhsl(275, 79%, 78%)
HSVhsv(275, 37%, 95%)
CMYKcmyk(15.6%, 37%, 0%, 4.7%)
CIE-LABlab(71.03, 35.74, -37.75)
CIE-LCHlch(71.03, 51.98, 313.44°)
OKLaboklab(76.46% 0.0874 -0.1042)
OKLCHoklch(76.46% 0.136 310)
XYZxyz(52.7428, 42.2334, 90.1500)
Luminance0.4223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F3 #BFF399
analogous
#A099F3 #CD99F3 #F399EC
triadic
#CD99F3 #F3CD99 #99F3CD
tetradic
#CD99F3 #F3A099 #BFF399 #99ECF3
square
#CD99F3 #F3A099 #BFF399 #99ECF3
split-complementary
#CD99F3 #ECF399 #99F3A0
monochromatic
#972BE6 #B262ED #CD99F3 #E8D0F9 #F2E4FC

Accessibility & contrast

On white

2.22
#CD99F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CD99F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F3
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F3#FFFFFF#000000##000000
##CD99F31.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C9A6BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd99f3;
/* rgb */ color: rgb(205, 153, 243);
/* oklch */ color: oklch(76.5% 0.136 310.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7f7',
    500: '#cd99f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f3;
$custom-light: #ddb7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f3",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 243
  },
  "hsl": {
    "h": 274.667,
    "s": 78.947,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.13607,
    "h": 310
  },
  "luminance": 0.42233
}

Semantic roles & 50–950 ramp

primary
#CD99F3
secondary
#E3F4D7
accent
#DB0A62
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F3

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

Preview Lab → · Contrast checker → · Palette generator →

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