#996DC7#996DC7

#996DC7 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.138 H 305.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#996DC7
RGBrgb(153, 109, 199)
HSLhsl(269, 45%, 60%)
HSVhsv(269, 45%, 78%)
CMYKcmyk(23.1%, 45.2%, 0%, 22%)
CIE-LABlab(53.85, 35.19, -40.49)
CIE-LCHlch(53.85, 53.64, 311.00°)
OKLaboklab(61.65% 0.0799 -0.1131)
OKLCHoklch(61.65% 0.138 305.3)
XYZxyz(28.9122, 21.8333, 56.7129)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996DC7 #9BC76D
analogous
#6D6EC7 #996DC7 #C66DC7
triadic
#996DC7 #C7996D #6DC799
tetradic
#996DC7 #C76D6E #9BC76D #6DC7C6
square
#996DC7 #C76D6E #9BC76D #6DC7C6
split-complementary
#996DC7 #C7C66D #6EC76D
monochromatic
#5C3386 #7A44B2 #996DC7 #B899D8 #D7C5E9

Accessibility & contrast

On white

3.91
#996DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#996DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996DC7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996DC7#FFFFFF#000000##000000
##996DC71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#927C90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #996dc7;
/* rgb */ color: rgb(153, 109, 199);
/* oklch */ color: oklch(61.7% 0.138 305.3);
Tailwind
colors: {
  custom: {
    50: '#b998d8',
    500: '#996dc7',
    950: '#000000',
  },
}
SCSS
$custom: #996dc7;
$custom-light: #b998d8;
$custom-dark: #000000;
JSON
{
  "hex": "#996dc7",
  "rgb": {
    "r": 153,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 269.333,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.13845,
    "h": 305.3
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#996DC7
secondary
#C8D9B7
accent
#B82E74
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #996DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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