#996DC2#996DC2

#996DC2 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.132 H 306.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#996DC2
RGBrgb(153, 109, 194)
HSLhsl(271, 41%, 59%)
HSVhsv(271, 44%, 76%)
CMYKcmyk(21.1%, 43.8%, 0%, 23.9%)
CIE-LABlab(53.61, 34.02, -38.01)
CIE-LCHlch(53.61, 51.01, 311.82°)
OKLaboklab(61.39% 0.0791 -0.1059)
OKLCHoklch(61.39% 0.132 306.8)
XYZxyz(28.3412, 21.6049, 53.7056)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996DC2 #96C26D
analogous
#6F6DC2 #996DC2 #C26DC1
triadic
#996DC2 #C2996D #6DC299
tetradic
#996DC2 #C26F6D #96C26D #6DC1C2
square
#996DC2 #C26F6D #96C26D #6DC1C2
split-complementary
#996DC2 #C1C26D #6DC26F
monochromatic
#5C357F #7B47AB #996DC2 #B798D4 #D5C3E6

Accessibility & contrast

On white

3.95
#996DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#996DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996DC2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996DC2#FFFFFF#000000##000000
##996DC21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#937B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #996dc2;
/* rgb */ color: rgb(153, 109, 194);
/* oklch */ color: oklch(61.4% 0.132 306.8);
Tailwind
colors: {
  custom: {
    50: '#b997d5',
    500: '#996dc2',
    950: '#000000',
  },
}
SCSS
$custom: #996dc2;
$custom-light: #b997d5;
$custom-dark: #000000;
JSON
{
  "hex": "#996dc2",
  "rgb": {
    "r": 153,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 271.059,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.13219,
    "h": 306.8
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#996DC2
secondary
#C5D6B5
accent
#D15792
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #996DC2

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

Preview Lab → · Contrast checker → · Palette generator →

#996DC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva