#C996EA#C996EA

#C996EA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.129 H 311.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C996EA
RGBrgb(201, 150, 234)
HSLhsl(276, 67%, 75%)
HSVhsv(276, 36%, 92%)
CMYKcmyk(14.1%, 35.9%, 0%, 8.2%)
CIE-LABlab(69.59, 34.27, -35.09)
CIE-LCHlch(69.59, 49.05, 314.32°)
OKLaboklab(75.15% 0.0851 -0.0967)
OKLCHoklch(75.15% 0.129 311.4)
XYZxyz(49.8424, 40.1715, 82.9541)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C996EA #B7EA96
analogous
#9F96EA #C996EA #EA96E1
triadic
#C996EA #EAC996 #96EAC9
tetradic
#C996EA #EA9F96 #B7EA96 #96E1EA
square
#C996EA #EA9F96 #B7EA96 #96E1EA
split-complementary
#C996EA #E1EA96 #96EA9F
monochromatic
#9530D6 #AF63E0 #C996EA #E3C9F4 #F2E5FA

Accessibility & contrast

On white

2.32
#C996EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#C996EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C996EA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C996EA#FFFFFF#000000##000000
##C996EA1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7ED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#C6A2B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c996ea;
/* rgb */ color: rgb(201, 150, 234);
/* oklch */ color: oklch(75.2% 0.129 311.4);
Tailwind
colors: {
  custom: {
    50: '#dab5f1',
    500: '#c996ea',
    950: '#000000',
  },
}
SCSS
$custom: #c996ea;
$custom-light: #dab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c996ea",
  "rgb": {
    "r": 201,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 276.429,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75154,
    "c": 0.12885,
    "h": 311.4
  },
  "luminance": 0.40171
}

Semantic roles & 50–950 ramp

primary
#C996EA
secondary
#E3F1DA
accent
#CF175F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C996EA

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

Preview Lab → · Contrast checker → · Palette generator →

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