#CD99F4#CD99F4

#CD99F4 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.137 H 309.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CD99F4
RGBrgb(205, 153, 244)
HSLhsl(274, 81%, 78%)
HSVhsv(274, 37%, 96%)
CMYKcmyk(16%, 37.3%, 0%, 4.3%)
CIE-LABlab(71.07, 35.95, -38.23)
CIE-LCHlch(71.07, 52.48, 313.25°)
OKLaboklab(76.5% 0.0877 -0.1056)
OKLCHoklch(76.5% 0.137 309.7)
XYZxyz(52.8942, 42.2939, 90.9475)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F4 #C0F499
analogous
#9F99F4 #CD99F4 #F499ED
triadic
#CD99F4 #F4CD99 #99F4CD
tetradic
#CD99F4 #F49F99 #C0F499 #99EDF4
square
#CD99F4 #F49F99 #C0F499 #99EDF4
split-complementary
#CD99F4 #EDF499 #99F49F
monochromatic
#972BE8 #B262EE #CD99F4 #E8D0FA #F1E3FC

Accessibility & contrast

On white

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

On black

9.46
#CD99F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F4
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F4#FFFFFF#000000##000000
##CD99F41.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF7
Deuteranopia (green-blind)
#93AFF1
Tritanopia (blue-blind)
#C8A6BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd99f4;
/* rgb */ color: rgb(205, 153, 244);
/* oklch */ color: oklch(76.5% 0.137 309.7);
Tailwind
colors: {
  custom: {
    50: '#ddb7f8',
    500: '#cd99f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f4;
$custom-light: #ddb7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f4",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 244
  },
  "hsl": {
    "h": 274.286,
    "s": 80.531,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76503,
    "c": 0.13726,
    "h": 309.7
  },
  "luminance": 0.42293
}

Semantic roles & 50–950 ramp

primary
#CD99F4
secondary
#E3F4D7
accent
#DD0964
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F4

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

Preview Lab → · Contrast checker → · Palette generator →

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