#996EC7#996EC7

#996EC7 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.137 H 305.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#996EC7
RGBrgb(153, 110, 199)
HSLhsl(269, 44%, 61%)
HSVhsv(269, 45%, 78%)
CMYKcmyk(23.1%, 44.7%, 0%, 22%)
CIE-LABlab(54.08, 34.62, -40.13)
CIE-LCHlch(54.08, 53.00, 310.79°)
OKLaboklab(61.82% 0.0785 -0.112)
OKLCHoklch(61.82% 0.137 305)
XYZxyz(29.0195, 22.0478, 56.7486)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996EC7 #9CC76E
analogous
#6E6FC7 #996EC7 #C66EC7
triadic
#996EC7 #C7996E #6EC799
tetradic
#996EC7 #C76E6F #9CC76E #6EC7C6
square
#996EC7 #C76E6F #9CC76E #6EC7C6
split-complementary
#996EC7 #C7C66E #6FC76E
monochromatic
#5C3487 #7A45B3 #996EC7 #B89AD8 #D7C6E9

Accessibility & contrast

On white

3.88
#996EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#996EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996EC7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996EC7#FFFFFF#000000##000000
##996EC71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#6281C5
Tritanopia (blue-blind)
#927D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #996ec7;
/* rgb */ color: rgb(153, 110, 199);
/* oklch */ color: oklch(61.8% 0.137 305.0);
Tailwind
colors: {
  custom: {
    50: '#b998d8',
    500: '#996ec7',
    950: '#000000',
  },
}
SCSS
$custom: #996ec7;
$custom-light: #b998d8;
$custom-dark: #000000;
JSON
{
  "hex": "#996ec7",
  "rgb": {
    "r": 153,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 268.989,
    "s": 44.279,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.13679,
    "h": 305
  },
  "luminance": 0.22048
}

Semantic roles & 50–950 ramp

primary
#996EC7
secondary
#C9D9B7
accent
#B72E75
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #996EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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