#C996EF#C996EF

#C996EF is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.135 H 309.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C996EF
RGBrgb(201, 150, 239)
HSLhsl(274, 74%, 76%)
HSVhsv(274, 37%, 94%)
CMYKcmyk(15.9%, 37.2%, 0%, 6.3%)
CIE-LABlab(69.80, 35.34, -37.51)
CIE-LCHlch(69.80, 51.54, 313.29°)
OKLaboklab(75.38% 0.0862 -0.1036)
OKLCHoklch(75.38% 0.135 309.8)
XYZxyz(50.5709, 40.4628, 86.7906)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C996EF #BCEF96
analogous
#9D96EF #C996EF #EF96E9
triadic
#C996EF #EFC996 #96EFC9
tetradic
#C996EF #EF9D96 #BCEF96 #96E9EF
square
#C996EF #EF9D96 #BCEF96 #96E9EF
split-complementary
#C996EF #E9EF96 #96EF9D
monochromatic
#922CDF #AE61E7 #C996EF #E4CBF7 #F1E4FB

Accessibility & contrast

On white

2.31
#C996EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#C996EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C996EF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C996EF#FFFFFF#000000##000000
##C996EF1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#C5A3B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c996ef;
/* rgb */ color: rgb(201, 150, 239);
/* oklch */ color: oklch(75.4% 0.135 309.8);
Tailwind
colors: {
  custom: {
    50: '#dab5f4',
    500: '#c996ef',
    950: '#000000',
  },
}
SCSS
$custom: #c996ef;
$custom-light: #dab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c996ef",
  "rgb": {
    "r": 201,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 274.382,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75379,
    "c": 0.13481,
    "h": 309.8
  },
  "luminance": 0.40462
}

Semantic roles & 50–950 ramp

primary
#C996EF
secondary
#E4F3D8
accent
#D61064
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C996EF

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

Preview Lab → · Contrast checker → · Palette generator →

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