#C99AFC#C99AFC

#C99AFC is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.144 H 305.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C99AFC
RGBrgb(201, 154, 252)
HSLhsl(269, 94%, 80%)
HSVhsv(269, 39%, 99%)
CMYKcmyk(20.2%, 38.9%, 0%, 1.2%)
CIE-LABlab(71.25, 35.99, -42.33)
CIE-LCHlch(71.25, 55.56, 310.38°)
OKLaboklab(76.66% 0.0833 -0.1175)
OKLCHoklch(76.66% 0.144 305.3)
XYZxyz(53.2101, 42.5573, 97.4878)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99AFC #CDFC9A
analogous
#9A9CFC #C99AFC #FA9AFC
triadic
#C99AFC #FCC99A #9AFCC9
tetradic
#C99AFC #FC9A9C #CDFC9A #9AFCFA
square
#C99AFC #FC9A9C #CDFC9A #9AFCFA
split-complementary
#C99AFC #FCFA9A #9CFC9A
monochromatic
#8923F8 #A95FFA #C99AFC #E9D5FE #EFE1FE

Accessibility & contrast

On white

2.21
#C99AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#C99AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99AFC
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99AFC#FFFFFF#000000##000000
##C99AFC1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#C1A9BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c99afc;
/* rgb */ color: rgb(201, 154, 252);
/* oklch */ color: oklch(76.7% 0.144 305.3);
Tailwind
colors: {
  custom: {
    50: '#dbb8fd',
    500: '#c99afc',
    950: '#000000',
  },
}
SCSS
$custom: #c99afc;
$custom-light: #dbb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c99afc",
  "rgb": {
    "r": 201,
    "g": 154,
    "b": 252
  },
  "hsl": {
    "h": 268.776,
    "s": 94.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76662,
    "c": 0.14402,
    "h": 305.3
  },
  "luminance": 0.42557
}

Semantic roles & 50–950 ramp

primary
#C99AFC
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C99AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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