#C99BF2#C99BF2

#C99BF2 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.130 H 307.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C99BF2
RGBrgb(201, 155, 242)
HSLhsl(272, 77%, 78%)
HSVhsv(272, 36%, 95%)
CMYKcmyk(16.9%, 36%, 0%, 5.1%)
CIE-LABlab(71.06, 33.25, -37.19)
CIE-LCHlch(71.06, 49.89, 311.80°)
OKLaboklab(76.38% 0.0798 -0.1027)
OKLCHoklch(76.38% 0.13 307.8)
XYZxyz(51.8327, 42.2715, 89.4158)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99BF2 #C4F29B
analogous
#9D9BF2 #C99BF2 #F29BF0
triadic
#C99BF2 #F2C99B #9BF2C9
tetradic
#C99BF2 #F29D9B #C4F29B #9BF0F2
square
#C99BF2 #F29D9B #C4F29B #9BF0F2
split-complementary
#C99BF2 #F0F29B #9BF29D
monochromatic
#8F2FE4 #AC65EB #C99BF2 #E6D1F9 #F0E4FB

Accessibility & contrast

On white

2.22
#C99BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#C99BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99BF2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99BF2#FFFFFF#000000##000000
##C99BF21.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C4A8BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c99bf2;
/* rgb */ color: rgb(201, 155, 242);
/* oklch */ color: oklch(76.4% 0.130 307.8);
Tailwind
colors: {
  custom: {
    50: '#dab9f6',
    500: '#c99bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c99bf2;
$custom-light: #dab9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c99bf2",
  "rgb": {
    "r": 201,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 271.724,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76375,
    "c": 0.13008,
    "h": 307.8
  },
  "luminance": 0.42271
}

Semantic roles & 50–950 ramp

primary
#C99BF2
secondary
#E5F3D8
accent
#D90C6D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #C99BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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