#C99DF8#C99DF8

#C99DF8 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.0% C 0.134 H 305.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#C99DF8
RGBrgb(201, 157, 248)
HSLhsl(269, 87%, 79%)
HSVhsv(269, 37%, 97%)
CMYKcmyk(19%, 36.7%, 0%, 2.7%)
CIE-LABlab(71.76, 33.47, -39.36)
CIE-LCHlch(71.76, 51.66, 310.38°)
OKLaboklab(76.99% 0.0783 -0.109)
OKLCHoklch(76.99% 0.134 305.7)
XYZxyz(53.0843, 43.3091, 94.3517)
Luminance0.4331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DF8 #CCF89D
analogous
#9D9FF8 #C99DF8 #F79DF8
triadic
#C99DF8 #F8C99D #9DF8C9
tetradic
#C99DF8 #F89D9F #CCF89D #9DF8F7
square
#C99DF8 #F89D9F #CCF89D #9DF8F7
split-complementary
#C99DF8 #F8F79D #9FF89D
monochromatic
#8A2BF0 #AA64F4 #C99DF8 #E8D6FC #EFE2FD

Accessibility & contrast

On white

2.17
#C99DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#C99DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DF8
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DF8#FFFFFF#000000##000000
##C99DF81.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFB
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#C2ABBF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99df8;
/* rgb */ color: rgb(201, 157, 248);
/* oklch */ color: oklch(77.0% 0.134 305.7);
Tailwind
colors: {
  custom: {
    50: '#dabafb',
    500: '#c99df8',
    950: '#000000',
  },
}
SCSS
$custom: #c99df8;
$custom-light: #dabafb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99df8",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 269.011,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76993,
    "c": 0.13417,
    "h": 305.7
  },
  "luminance": 0.43309
}

Semantic roles & 50–950 ramp

primary
#C99DF8
secondary
#E6F5D6
accent
#E30276
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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