#CD99F2#CD99F2

#CD99F2 is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.4% C 0.135 H 310.3°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CD99F2
RGBrgb(205, 153, 242)
HSLhsl(275, 77%, 77%)
HSVhsv(275, 37%, 95%)
CMYKcmyk(15.3%, 36.8%, 0%, 5.1%)
CIE-LABlab(70.99, 35.53, -37.27)
CIE-LCHlch(70.99, 51.49, 313.63°)
OKLaboklab(76.41% 0.0872 -0.1029)
OKLCHoklch(76.41% 0.135 310.3)
XYZxyz(52.5922, 42.1731, 89.3568)
Luminance0.4217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F2 #BEF299
analogous
#A099F2 #CD99F2 #F299EB
triadic
#CD99F2 #F2CD99 #99F2CD
tetradic
#CD99F2 #F2A099 #BEF299 #99EBF2
square
#CD99F2 #F2A099 #BEF299 #99EBF2
split-complementary
#CD99F2 #EBF299 #99F2A0
monochromatic
#982CE4 #B263EB #CD99F2 #E8CFF9 #F2E4FC

Accessibility & contrast

On white

2.23
#CD99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CD99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F2#FFFFFF#000000##000000
##CD99F21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#C9A6BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd99f2;
/* rgb */ color: rgb(205, 153, 242);
/* oklch */ color: oklch(76.4% 0.135 310.3);
Tailwind
colors: {
  custom: {
    50: '#ddb7f6',
    500: '#cd99f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f2;
$custom-light: #ddb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f2",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 275.056,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76413,
    "c": 0.13487,
    "h": 310.3
  },
  "luminance": 0.42172
}

Semantic roles & 50–950 ramp

primary
#CD99F2
secondary
#E3F3D8
accent
#DA0C61
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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