#C99DFE#C99DFE

#C99DFE is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.3% C 0.142 H 304.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C99DFE
RGBrgb(201, 157, 254)
HSLhsl(267, 98%, 81%)
HSVhsv(267, 38%, 100%)
CMYKcmyk(20.9%, 38.2%, 0%, 0.4%)
CIE-LABlab(72.02, 34.80, -42.22)
CIE-LCHlch(72.02, 54.71, 309.50°)
OKLaboklab(77.27% 0.0795 -0.1172)
OKLCHoklch(77.27% 0.142 304.2)
XYZxyz(54.0301, 43.6874, 99.3328)
Luminance0.4369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DFE #D2FE9D
analogous
#9DA1FE #C99DFE #F99DFE
triadic
#C99DFE #FEC99D #9DFEC9
tetradic
#C99DFE #FE9DA1 #D2FE9D #9DFEF9
square
#C99DFE #FE9DA1 #D2FE9D #9DFEF9
split-complementary
#C99DFE #FEF99D #A1FE9D
monochromatic
#8624FD #A860FD #C99DFE #EADAFF #EEE1FF

Accessibility & contrast

On white

2.16
#C99DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C99DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DFE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DFE#FFFFFF#000000##000000
##C99DFE1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#90B1FB
Tritanopia (blue-blind)
#C1ACC2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99dfe;
/* rgb */ color: rgb(201, 157, 254);
/* oklch */ color: oklch(77.3% 0.142 304.2);
Tailwind
colors: {
  custom: {
    50: '#dbbaff',
    500: '#c99dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c99dfe;
$custom-light: #dbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c99dfe",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 267.216,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.14162,
    "h": 304.2
  },
  "luminance": 0.43687
}

Semantic roles & 50–950 ramp

primary
#C99DFE
secondary
#E7F7D4
accent
#E6007D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C99DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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