#996AFB#996AFB

#996AFB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.3% C 0.207 H 294.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#996AFB
RGBrgb(153, 106, 251)
HSLhsl(259, 95%, 70%)
HSVhsv(259, 58%, 98%)
CMYKcmyk(39%, 57.8%, 0%, 1.6%)
CIE-LABlab(56.13, 49.84, -66.08)
CIE-LCHlch(56.13, 82.76, 307.02°)
OKLaboklab(64.29% 0.087 -0.1879)
OKLCHoklch(64.29% 0.207 294.8)
XYZxyz(35.6989, 24.0446, 94.0083)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996AFB #CCFB6A
analogous
#6A84FB #996AFB #E16AFB
triadic
#996AFB #FB996A #6AFB99
tetradic
#996AFB #FB6A84 #CCFB6A #6AFBE1
square
#996AFB #FB6A84 #CCFB6A #6AFBE1
split-complementary
#996AFB #FBE16A #84FB6A
monochromatic
#4E06E4 #702EF9 #996AFB #C2A6FD #EBE1FE

Accessibility & contrast

On white

3.62
#996AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#996AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996AFB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996AFB#FFFFFF#000000##000000
##996AFB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0988FF
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#8089A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #996afb;
/* rgb */ color: rgb(153, 106, 251);
/* oklch */ color: oklch(64.3% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#bc96fd',
    500: '#996afb',
    950: '#000000',
  },
}
SCSS
$custom: #996afb;
$custom-light: #bc96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#996afb",
  "rgb": {
    "r": 153,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 259.448,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64289,
    "c": 0.20711,
    "h": 294.8
  },
  "luminance": 0.24045
}

Semantic roles & 50–950 ramp

primary
#996AFB
secondary
#E8F5CC
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #996AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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