#C99FEE#C99FEE

#C99FEE is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.9% C 0.118 H 308.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C99FEE
RGBrgb(201, 159, 238)
HSLhsl(272, 70%, 78%)
HSVhsv(272, 33%, 93%)
CMYKcmyk(15.5%, 33.2%, 0%, 6.7%)
CIE-LABlab(71.82, 30.19, -33.83)
CIE-LCHlch(71.82, 45.35, 311.75°)
OKLaboklab(76.9% 0.0732 -0.0931)
OKLCHoklch(76.9% 0.118 308.1)
XYZxyz(51.9153, 43.3873, 86.5120)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99FEE #C4EE9F
analogous
#A19FEE #C99FEE #EE9FEB
triadic
#C99FEE #EEC99F #9FEEC9
tetradic
#C99FEE #EEA19F #C4EE9F #9FEBEE
square
#C99FEE #EEA19F #C4EE9F #9FEBEE
split-complementary
#C99FEE #EBEE9F #9FEEA1
monochromatic
#8F37DC #AC6BE5 #C99FEE #E6D3F7 #F0E5FA

Accessibility & contrast

On white

2.17
#C99FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C99FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99FEE
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99FEE#FFFFFF#000000##000000
##C99FEE1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#C4AABC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99fee;
/* rgb */ color: rgb(201, 159, 238);
/* oklch */ color: oklch(76.9% 0.118 308.1);
Tailwind
colors: {
  custom: {
    50: '#dabbf3',
    500: '#c99fee',
    950: '#000000',
  },
}
SCSS
$custom: #c99fee;
$custom-light: #dabbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c99fee",
  "rgb": {
    "r": 201,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 271.899,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76899,
    "c": 0.11845,
    "h": 308.1
  },
  "luminance": 0.43387
}

Semantic roles & 50–950 ramp

primary
#C99FEE
secondary
#E5F2D9
accent
#D2146D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C99FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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