#996FEF#996FEF

#996FEF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.185 H 295.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#996FEF
RGBrgb(153, 111, 239)
HSLhsl(260, 80%, 69%)
HSVhsv(260, 54%, 94%)
CMYKcmyk(36%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.46, 43.99, -58.89)
CIE-LCHlch(56.46, 73.51, 306.76°)
OKLaboklab(64.3% 0.081 -0.1668)
OKLCHoklch(64.3% 0.185 295.9)
XYZxyz(34.3973, 24.3726, 84.5367)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996FEF #C5EF6F
analogous
#6F85EF #996FEF #D96FEF
triadic
#996FEF #EF996F #6FEF99
tetradic
#996FEF #EF6F85 #C5EF6F #6FEFD9
square
#996FEF #EF6F85 #C5EF6F #6FEFD9
split-complementary
#996FEF #EFD96F #85EF6F
monochromatic
#5317CD #7238E9 #996FEF #C0A6F5 #E7DDFB

Accessibility & contrast

On white

3.57
#996FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#996FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996FEF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996FEF#FFFFFF#000000##000000
##996FEF1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#8589A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #996fef;
/* rgb */ color: rgb(153, 111, 239);
/* oklch */ color: oklch(64.3% 0.185 295.9);
Tailwind
colors: {
  custom: {
    50: '#bb99f5',
    500: '#996fef',
    950: '#000000',
  },
}
SCSS
$custom: #996fef;
$custom-light: #bb99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#996fef",
  "rgb": {
    "r": 153,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 259.688,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.18546,
    "h": 295.9
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#996FEF
secondary
#E3F0CA
accent
#DC0997
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #996FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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