#C99DFF#C99DFF

#C99DFF is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.143 H 303.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C99DFF
RGBrgb(201, 157, 255)
HSLhsl(267, 100%, 81%)
HSVhsv(267, 38%, 100%)
CMYKcmyk(21.2%, 38.4%, 0%, 0%)
CIE-LABlab(72.06, 35.02, -42.69)
CIE-LCHlch(72.06, 55.22, 309.37°)
OKLaboklab(77.32% 0.0797 -0.1186)
OKLCHoklch(77.32% 0.143 303.9)
XYZxyz(54.1906, 43.7516, 100.1784)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DFF #D3FF9D
analogous
#9DA2FF #C99DFF #FA9DFF
triadic
#C99DFF #FFC99D #9DFFC9
tetradic
#C99DFF #FF9DA2 #D3FF9D #9DFFFA
square
#C99DFF #FF9DA2 #D3FF9D #9DFFFA
split-complementary
#C99DFF #FFFA9D #A2FF9D
monochromatic
#8623FF #A760FF #C99DFF #EBDAFF #EEE0FF

Accessibility & contrast

On white

2.15
#C99DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C99DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DFF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DFF#FFFFFF#000000##000000
##C99DFF1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#8FB1FC
Tritanopia (blue-blind)
#C0ADC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c99dff;
/* rgb */ color: rgb(201, 157, 255);
/* oklch */ color: oklch(77.3% 0.143 303.9);
Tailwind
colors: {
  custom: {
    50: '#dbbaff',
    500: '#c99dff',
    950: '#000000',
  },
}
SCSS
$custom: #c99dff;
$custom-light: #dbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c99dff",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 266.939,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77316,
    "c": 0.14287,
    "h": 303.9
  },
  "luminance": 0.43751
}

Semantic roles & 50–950 ramp

primary
#C99DFF
secondary
#E7F7D4
accent
#E6007E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C99DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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