#C99DEC#C99DEC

#C99DEC is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.5% C 0.119 H 309.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C99DEC
RGBrgb(201, 157, 236)
HSLhsl(273, 68%, 77%)
HSVhsv(273, 33%, 93%)
CMYKcmyk(14.8%, 33.5%, 0%, 7.5%)
CIE-LABlab(71.27, 30.86, -33.58)
CIE-LCHlch(71.27, 45.61, 312.59°)
OKLaboklab(76.46% 0.0756 -0.0924)
OKLCHoklch(76.46% 0.119 309.3)
XYZxyz(51.2819, 42.5881, 84.8594)
Luminance0.4259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99DEC #C0EC9D
analogous
#A29DEC #C99DEC #EC9DE7
triadic
#C99DEC #ECC99D #9DECC9
tetradic
#C99DEC #ECA29D #C0EC9D #9DE7EC
square
#C99DEC #ECA29D #C0EC9D #9DE7EC
split-complementary
#C99DEC #E7EC9D #9DECA2
monochromatic
#9136D8 #AD6AE2 #C99DEC #E5D0F6 #F1E5FA

Accessibility & contrast

On white

2.21
#C99DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C99DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99DEC
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99DEC#FFFFFF#000000##000000
##C99DEC1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#C5A8BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c99dec;
/* rgb */ color: rgb(201, 157, 236);
/* oklch */ color: oklch(76.5% 0.119 309.3);
Tailwind
colors: {
  custom: {
    50: '#dabaf2',
    500: '#c99dec',
    950: '#000000',
  },
}
SCSS
$custom: #c99dec;
$custom-light: #dabaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c99dec",
  "rgb": {
    "r": 201,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 273.418,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7646,
    "c": 0.11937,
    "h": 309.3
  },
  "luminance": 0.42588
}

Semantic roles & 50–950 ramp

primary
#C99DEC
secondary
#E4F2D9
accent
#CF1668
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C99DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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