#966DFA#966DFA

#966DFA is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.4% C 0.202 H 293.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#966DFA
RGBrgb(150, 109, 250)
HSLhsl(257, 93%, 70%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40%, 56.4%, 0%, 2%)
CIE-LABlab(56.41, 47.28, -65.09)
CIE-LCHlch(56.41, 80.45, 306.00°)
OKLaboklab(64.4% 0.0798 -0.1851)
OKLCHoklch(64.4% 0.202 293.3)
XYZxyz(35.2970, 24.3225, 93.2590)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#966DFA #D1FA6D
analogous
#6D8AFA #966DFA #DD6DFA
triadic
#966DFA #FA966D #6DFA96
tetradic
#966DFA #FA6D8A #D1FA6D #6DFADD
square
#966DFA #FA6D8A #D1FA6D #6DFADD
split-complementary
#966DFA #FADD6D #8AFA6D
monochromatic
#4808E5 #6B32F8 #966DFA #C1A8FC #EAE1FE

Accessibility & contrast

On white

3.58
#966DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#966DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #966DFA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##966DFA#FFFFFF#000000##000000
##966DFA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C89FF
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#7C8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #966dfa;
/* rgb */ color: rgb(150, 109, 250);
/* oklch */ color: oklch(64.4% 0.202 293.3);
Tailwind
colors: {
  custom: {
    50: '#ba98fd',
    500: '#966dfa',
    950: '#000000',
  },
}
SCSS
$custom: #966dfa;
$custom-light: #ba98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#966dfa",
  "rgb": {
    "r": 150,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 257.447,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.20162,
    "h": 293.3
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#966DFA
secondary
#E9F5CE
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #966DFA

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

Preview Lab → · Contrast checker → · Palette generator →

#966DFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva