#C99BF8#C99BF8

#C99BF8 is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.6% C 0.137 H 306.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C99BF8
RGBrgb(201, 155, 248)
HSLhsl(270, 87%, 79%)
HSVhsv(270, 38%, 97%)
CMYKcmyk(19%, 37.5%, 0%, 2.7%)
CIE-LABlab(71.31, 34.56, -40.07)
CIE-LCHlch(71.31, 52.91, 310.78°)
OKLaboklab(76.65% 0.0811 -0.111)
OKLCHoklch(76.65% 0.137 306.1)
XYZxyz(52.7487, 42.6379, 94.2398)
Luminance0.4264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99BF8 #CAF89B
analogous
#9B9CF8 #C99BF8 #F79BF8
triadic
#C99BF8 #F8C99B #9BF8C9
tetradic
#C99BF8 #F89B9C #CAF89B #9BF8F7
square
#C99BF8 #F89B9C #CAF89B #9BF8F7
split-complementary
#C99BF8 #F8F79B #9CF89B
monochromatic
#8B29F0 #AA62F4 #C99BF8 #E8D4FC #F0E2FD

Accessibility & contrast

On white

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

On black

9.53
#C99BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99BF8
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99BF8#FFFFFF#000000##000000
##C99BF81.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#C2A9BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c99bf8;
/* rgb */ color: rgb(201, 155, 248);
/* oklch */ color: oklch(76.6% 0.137 306.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9fb',
    500: '#c99bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c99bf8;
$custom-light: #dbb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99bf8",
  "rgb": {
    "r": 201,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 269.677,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76647,
    "c": 0.13746,
    "h": 306.1
  },
  "luminance": 0.42638
}

Semantic roles & 50–950 ramp

primary
#C99BF8
secondary
#E6F5D6
accent
#E30274
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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