#996FE7#996FE7

#996FE7 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.176 H 297.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#996FE7
RGBrgb(153, 111, 231)
HSLhsl(261, 71%, 67%)
HSVhsv(261, 52%, 91%)
CMYKcmyk(33.8%, 51.9%, 0%, 9.4%)
CIE-LABlab(56.00, 41.94, -55.16)
CIE-LCHlch(56.00, 69.30, 307.25°)
OKLaboklab(63.81% 0.0806 -0.1559)
OKLCHoklch(63.81% 0.176 297.3)
XYZxyz(33.2415, 23.9103, 78.4496)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996FE7 #BDE76F
analogous
#6F81E7 #996FE7 #D56FE7
triadic
#996FE7 #E7996F #6FE799
tetradic
#996FE7 #E76F81 #BDE76F #6FE7D5
square
#996FE7 #E76F81 #BDE76F #6FE7D5
split-complementary
#996FE7 #E7D56F #81E76F
monochromatic
#561FBC #743BDE #996FE7 #BEA3F0 #E3D8F8

Accessibility & contrast

On white

3.63
#996FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#996FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996FE7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996FE7#FFFFFF#000000##000000
##996FE71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#8887A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #996fe7;
/* rgb */ color: rgb(153, 111, 231);
/* oklch */ color: oklch(63.8% 0.176 297.3);
Tailwind
colors: {
  custom: {
    50: '#bb99ef',
    500: '#996fe7',
    950: '#000000',
  },
}
SCSS
$custom: #996fe7;
$custom-light: #bb99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#996fe7",
  "rgb": {
    "r": 153,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 261,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.17551,
    "h": 297.3
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#996FE7
secondary
#DFECC6
accent
#D31290
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #996FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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