#C99BFC#C99BFC

#C99BFC is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.8% C 0.142 H 305.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C99BFC
RGBrgb(201, 155, 252)
HSLhsl(268, 94%, 80%)
HSVhsv(268, 38%, 99%)
CMYKcmyk(20.2%, 38.5%, 0%, 1.2%)
CIE-LABlab(71.48, 35.45, -41.97)
CIE-LCHlch(71.48, 54.94, 310.18°)
OKLaboklab(76.83% 0.0819 -0.1165)
OKLCHoklch(76.83% 0.142 305.1)
XYZxyz(53.3759, 42.8887, 97.5430)
Luminance0.4289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99BFC #CEFC9B
analogous
#9B9DFC #C99BFC #FA9BFC
triadic
#C99BFC #FCC99B #9BFCC9
tetradic
#C99BFC #FC9B9D #CEFC9B #9BFCFA
square
#C99BFC #FC9B9D #CEFC9B #9BFCFA
split-complementary
#C99BFC #FCFA9B #9DFC9B
monochromatic
#8924F8 #A960FA #C99BFC #E9D6FE #EFE1FE

Accessibility & contrast

On white

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

On black

9.58
#C99BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99BFC
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99BFC#FFFFFF#000000##000000
##C99BFC1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#C1AAC0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c99bfc;
/* rgb */ color: rgb(201, 155, 252);
/* oklch */ color: oklch(76.8% 0.142 305.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9fd',
    500: '#c99bfc',
    950: '#000000',
  },
}
SCSS
$custom: #c99bfc;
$custom-light: #dbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c99bfc",
  "rgb": {
    "r": 201,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 268.454,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.14239,
    "h": 305.1
  },
  "luminance": 0.42888
}

Semantic roles & 50–950 ramp

primary
#C99BFC
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C99BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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