#996DEF#996DEF

#996DEF is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.188 H 296.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#996DEF
RGBrgb(153, 109, 239)
HSLhsl(260, 80%, 68%)
HSVhsv(260, 54%, 94%)
CMYKcmyk(36%, 54.4%, 0%, 6.3%)
CIE-LABlab(56.03, 45.10, -59.58)
CIE-LCHlch(56.03, 74.72, 307.12°)
OKLaboklab(63.98% 0.0834 -0.1689)
OKLCHoklch(63.98% 0.188 296.3)
XYZxyz(34.1815, 23.9410, 84.4648)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996DEF #C3EF6D
analogous
#6D82EF #996DEF #DA6DEF
triadic
#996DEF #EF996D #6DEF99
tetradic
#996DEF #EF6D82 #C3EF6D #6DEFDA
square
#996DEF #EF6D82 #C3EF6D #6DEFDA
split-complementary
#996DEF #EFDA6D #82EF6D
monochromatic
#5416CB #7236E9 #996DEF #C0A4F5 #E6DBFB

Accessibility & contrast

On white

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

On black

5.79
#996DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996DEF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996DEF#FFFFFF#000000##000000
##996DEF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#4085EC
Tritanopia (blue-blind)
#8588A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #996def;
/* rgb */ color: rgb(153, 109, 239);
/* oklch */ color: oklch(64.0% 0.188 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb98f5',
    500: '#996def',
    950: '#000000',
  },
}
SCSS
$custom: #996def;
$custom-light: #bb98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#996def",
  "rgb": {
    "r": 153,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 260.308,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63977,
    "c": 0.18835,
    "h": 296.3
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#996DEF
secondary
#E2F0C8
accent
#DD0995
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #996DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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