#C99CFB#C99CFB

#C99CFB is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.140 H 305.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C99CFB
RGBrgb(201, 156, 251)
HSLhsl(268, 92%, 80%)
HSVhsv(268, 38%, 98%)
CMYKcmyk(19.9%, 37.8%, 0%, 1.6%)
CIE-LABlab(71.66, 34.68, -41.14)
CIE-LCHlch(71.66, 53.81, 310.13°)
OKLaboklab(76.96% 0.0803 -0.1141)
OKLCHoklch(76.96% 0.14 305.1)
XYZxyz(53.3849, 43.1597, 96.7663)
Luminance0.4316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99CFB #CEFB9C
analogous
#9C9FFB #C99CFB #F89CFB
triadic
#C99CFB #FBC99C #9CFBC9
tetradic
#C99CFB #FB9C9F #CEFB9C #9CFBF8
square
#C99CFB #FB9C9F #CEFB9C #9CFBF8
split-complementary
#C99CFB #FBF89C #9FFB9C
monochromatic
#8926F6 #A961F9 #C99CFB #E9D7FD #EFE2FE

Accessibility & contrast

On white

2.18
#C99CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C99CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99CFB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99CFB#FFFFFF#000000##000000
##C99CFB1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#90B0F8
Tritanopia (blue-blind)
#C1ABC0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99cfb;
/* rgb */ color: rgb(201, 156, 251);
/* oklch */ color: oklch(77.0% 0.140 305.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9fd',
    500: '#c99cfb',
    950: '#000000',
  },
}
SCSS
$custom: #c99cfb;
$custom-light: #dbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c99cfb",
  "rgb": {
    "r": 201,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 268.421,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76958,
    "c": 0.13952,
    "h": 305.1
  },
  "luminance": 0.43159
}

Semantic roles & 50–950 ramp

primary
#C99CFB
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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