#C99BF9#C99BF9

#C99BF9 is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.7% C 0.139 H 305.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C99BF9
RGBrgb(201, 155, 249)
HSLhsl(269, 89%, 79%)
HSVhsv(269, 38%, 98%)
CMYKcmyk(19.3%, 37.8%, 0%, 2.4%)
CIE-LABlab(71.35, 34.78, -40.55)
CIE-LCHlch(71.35, 53.42, 310.63°)
OKLaboklab(76.69% 0.0813 -0.1124)
OKLCHoklch(76.69% 0.139 305.9)
XYZxyz(52.9042, 42.7001, 95.0590)
Luminance0.4270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99BF9 #CBF99B
analogous
#9B9CF9 #C99BF9 #F89BF9
triadic
#C99BF9 #F9C99B #9BF9C9
tetradic
#C99BF9 #F99B9C #CBF99B #9BF9F8
square
#C99BF9 #F99B9C #CBF99B #9BF9F8
split-complementary
#C99BF9 #F9F89B #9CF99B
monochromatic
#8B28F2 #AA61F6 #C99BF9 #E8D5FC #EFE2FD

Accessibility & contrast

On white

2.20
#C99BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#C99BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99BF9
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99BF9#FFFFFF#000000##000000
##C99BF91.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#90AFF6
Tritanopia (blue-blind)
#C2A9BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c99bf9;
/* rgb */ color: rgb(201, 155, 249);
/* oklch */ color: oklch(76.7% 0.139 305.9);
Tailwind
colors: {
  custom: {
    50: '#dbb9fb',
    500: '#c99bf9',
    950: '#000000',
  },
}
SCSS
$custom: #c99bf9;
$custom-light: #dbb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99bf9",
  "rgb": {
    "r": 201,
    "g": 155,
    "b": 249
  },
  "hsl": {
    "h": 269.362,
    "s": 88.679,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76693,
    "c": 0.13869,
    "h": 305.9
  },
  "luminance": 0.427
}

Semantic roles & 50–950 ramp

primary
#C99BF9
secondary
#E6F5D6
accent
#E50075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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