#C99FFE#C99FFE

#C99FFE is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.6% C 0.138 H 303.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C99FFE
RGBrgb(201, 159, 254)
HSLhsl(267, 98%, 81%)
HSVhsv(267, 37%, 100%)
CMYKcmyk(20.9%, 37.4%, 0%, 0.4%)
CIE-LABlab(72.47, 33.71, -41.50)
CIE-LCHlch(72.47, 53.47, 309.08°)
OKLaboklab(77.61% 0.0768 -0.1151)
OKLCHoklch(77.61% 0.138 303.7)
XYZxyz(54.3712, 44.3697, 99.4465)
Luminance0.4437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99FFE #D4FE9F
analogous
#9FA4FE #C99FFE #F89FFE
triadic
#C99FFE #FEC99F #9FFEC9
tetradic
#C99FFE #FE9FA4 #D4FE9F #9FFEF8
square
#C99FFE #FE9FA4 #D4FE9F #9FFEF8
split-complementary
#C99FFE #FEF89F #A4FE9F
monochromatic
#8526FD #A762FD #C99FFE #EBDCFF #EEE1FF

Accessibility & contrast

On white

2.13
#C99FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C99FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99FFE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99FFE#FFFFFF#000000##000000
##C99FFE1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#C0AEC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c99ffe;
/* rgb */ color: rgb(201, 159, 254);
/* oklch */ color: oklch(77.6% 0.138 303.7);
Tailwind
colors: {
  custom: {
    50: '#dbbcff',
    500: '#c99ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c99ffe;
$custom-light: #dbbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#c99ffe",
  "rgb": {
    "r": 201,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 266.526,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77615,
    "c": 0.13839,
    "h": 303.7
  },
  "luminance": 0.4437
}

Semantic roles & 50–950 ramp

primary
#C99FFE
secondary
#E8F7D4
accent
#E60080
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C99FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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