#C99DF9#C99DF9

#C99DF9 is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.135 H 305.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C99DF9
RGBrgb(201, 157, 249)
HSLhsl(269, 88%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(19.3%, 36.9%, 0%, 2.4%)
CIE-LABlab(71.81, 33.69, -39.83)
CIE-LCHlch(71.81, 52.17, 310.22°)
OKLaboklab(77.04% 0.0785 -0.1103)
OKLCHoklch(77.04% 0.135 305.4)
XYZxyz(53.2398, 43.3713, 95.1709)
Luminance0.4337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DF9 #CDF99D
analogous
#9D9FF9 #C99DF9 #F79DF9
triadic
#C99DF9 #F9C99D #9DF9C9
tetradic
#C99DF9 #F99D9F #CDF99D #9DF9F7
square
#C99DF9 #F99D9F #CDF99D #9DF9F7
split-complementary
#C99DF9 #F9F79D #9FF99D
monochromatic
#892AF2 #A963F5 #C99DF9 #E9D7FD #EFE2FD

Accessibility & contrast

On white

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

On black

9.67
#C99DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DF9
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DF9#FFFFFF#000000##000000
##C99DF91.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#C2ABBF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99df9;
/* rgb */ color: rgb(201, 157, 249);
/* oklch */ color: oklch(77.0% 0.135 305.4);
Tailwind
colors: {
  custom: {
    50: '#dbbafb',
    500: '#c99df9',
    950: '#000000',
  },
}
SCSS
$custom: #c99df9;
$custom-light: #dbbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99df9",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 268.696,
    "s": 88.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77038,
    "c": 0.13541,
    "h": 305.4
  },
  "luminance": 0.43371
}

Semantic roles & 50–950 ramp

primary
#C99DF9
secondary
#E6F5D6
accent
#E50078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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