#C99CF9#C99CF9

#C99CF9 is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.9% C 0.137 H 305.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#C99CF9
RGBrgb(201, 156, 249)
HSLhsl(269, 89%, 79%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(19.3%, 37.3%, 0%, 2.4%)
CIE-LABlab(71.58, 34.24, -40.19)
CIE-LCHlch(71.58, 52.80, 310.43°)
OKLaboklab(76.87% 0.0799 -0.1114)
OKLCHoklch(76.87% 0.137 305.7)
XYZxyz(53.0713, 43.0343, 95.1147)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99CF9 #CCF99C
analogous
#9C9EF9 #C99CF9 #F79CF9
triadic
#C99CF9 #F9C99C #9CF9C9
tetradic
#C99CF9 #F99C9E #CCF99C #9CF9F7
square
#C99CF9 #F99C9E #CCF99C #9CF9F7
split-complementary
#C99CF9 #F9F79C #9EF99C
monochromatic
#8A29F2 #AA62F6 #C99CF9 #E8D6FC #EFE2FD

Accessibility & contrast

On white

2.19
#C99CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#C99CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99CF9
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99CF9#FFFFFF#000000##000000
##C99CF91.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFD
Deuteranopia (green-blind)
#91B0F6
Tritanopia (blue-blind)
#C2AABF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c99cf9;
/* rgb */ color: rgb(201, 156, 249);
/* oklch */ color: oklch(76.9% 0.137 305.7);
Tailwind
colors: {
  custom: {
    50: '#dbb9fb',
    500: '#c99cf9',
    950: '#000000',
  },
}
SCSS
$custom: #c99cf9;
$custom-light: #dbb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99cf9",
  "rgb": {
    "r": 201,
    "g": 156,
    "b": 249
  },
  "hsl": {
    "h": 269.032,
    "s": 88.571,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76866,
    "c": 0.13705,
    "h": 305.7
  },
  "luminance": 0.43034
}

Semantic roles & 50–950 ramp

primary
#C99CF9
secondary
#E6F5D6
accent
#E50076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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