#C99DF6#C99DF6

#C99DF6 is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.9% C 0.132 H 306.2°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C99DF6
RGBrgb(201, 157, 246)
HSLhsl(270, 83%, 79%)
HSVhsv(270, 36%, 96%)
CMYKcmyk(18.3%, 36.2%, 0%, 3.5%)
CIE-LABlab(71.68, 33.03, -38.40)
CIE-LCHlch(71.68, 50.65, 310.70°)
OKLaboklab(76.9% 0.0779 -0.1062)
OKLCHoklch(76.9% 0.132 306.2)
XYZxyz(52.7756, 43.1856, 92.7263)
Luminance0.4319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DF6 #CAF69D
analogous
#9D9EF6 #C99DF6 #F69DF6
triadic
#C99DF6 #F6C99D #9DF6C9
tetradic
#C99DF6 #F69D9E #CAF69D #9DF6F6
square
#C99DF6 #F69D9E #CAF69D #9DF6F6
split-complementary
#C99DF6 #F6F69D #9EF69D
monochromatic
#8B2DEC #AA65F1 #C99DF6 #E8D5FB #F0E3FC

Accessibility & contrast

On white

2.18
#C99DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C99DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DF6
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DF6#FFFFFF#000000##000000
##C99DF61.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEF9
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#C3AABE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99df6;
/* rgb */ color: rgb(201, 157, 246);
/* oklch */ color: oklch(76.9% 0.132 306.2);
Tailwind
colors: {
  custom: {
    50: '#dabaf9',
    500: '#c99df6',
    950: '#000000',
  },
}
SCSS
$custom: #c99df6;
$custom-light: #dabaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#c99df6",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 269.663,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76902,
    "c": 0.13169,
    "h": 306.2
  },
  "luminance": 0.43185
}

Semantic roles & 50–950 ramp

primary
#C99DF6
secondary
#E6F4D7
accent
#E00674
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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