#996EC5#996EC5

#996EC5 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.7% C 0.134 H 305.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#996EC5
RGBrgb(153, 110, 197)
HSLhsl(270, 43%, 60%)
HSVhsv(270, 44%, 77%)
CMYKcmyk(22.3%, 44.2%, 0%, 22.7%)
CIE-LABlab(53.98, 34.15, -39.14)
CIE-LCHlch(53.98, 51.94, 311.11°)
OKLaboklab(61.72% 0.0782 -0.1092)
OKLCHoklch(61.72% 0.134 305.6)
XYZxyz(28.7888, 21.9556, 55.5337)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996EC5 #9AC56E
analogous
#6E6FC5 #996EC5 #C46EC5
triadic
#996EC5 #C5996E #6EC599
tetradic
#996EC5 #C56E6F #9AC56E #6EC5C4
square
#996EC5 #C56E6F #9AC56E #6EC5C4
split-complementary
#996EC5 #C5C46E #6FC56E
monochromatic
#5C3584 #7A46B0 #996EC5 #B89AD6 #D7C5E8

Accessibility & contrast

On white

3.90
#996EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#996EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996EC5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996EC5#FFFFFF#000000##000000
##996EC51.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#6381C3
Tritanopia (blue-blind)
#927C90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #996ec5;
/* rgb */ color: rgb(153, 110, 197);
/* oklch */ color: oklch(61.7% 0.134 305.6);
Tailwind
colors: {
  custom: {
    50: '#b998d7',
    500: '#996ec5',
    950: '#000000',
  },
}
SCSS
$custom: #996ec5;
$custom-light: #b998d7;
$custom-dark: #000000;
JSON
{
  "hex": "#996ec5",
  "rgb": {
    "r": 153,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 269.655,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61716,
    "c": 0.13427,
    "h": 305.6
  },
  "luminance": 0.21955
}

Semantic roles & 50–950 ramp

primary
#996EC5
secondary
#C8D8B7
accent
#B63074
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #996EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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