#966CFB#966CFB

#966CFB is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.3% C 0.204 H 293.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#966CFB
RGBrgb(150, 108, 251)
HSLhsl(258, 95%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(40.2%, 57%, 0%, 1.6%)
CIE-LABlab(56.26, 48.10, -65.88)
CIE-LCHlch(56.26, 81.57, 306.13°)
OKLaboklab(64.32% 0.0809 -0.1875)
OKLCHoklch(64.32% 0.204 293.4)
XYZxyz(35.3482, 24.1733, 94.0516)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#966CFB #D1FB6C
analogous
#6C8AFB #966CFB #DD6CFB
triadic
#966CFB #FB966C #6CFB96
tetradic
#966CFB #FB6C8A #D1FB6C #6CFBDD
square
#966CFB #FB6C8A #D1FB6C #6CFBDD
split-complementary
#966CFB #FBDD6C #8AFB6C
monochromatic
#4806E6 #6B30F9 #966CFB #C1A8FD #EAE1FE

Accessibility & contrast

On white

3.60
#966CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#966CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #966CFB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##966CFB#FFFFFF#000000##000000
##966CFB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1389FF
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#7B8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #966cfb;
/* rgb */ color: rgb(150, 108, 251);
/* oklch */ color: oklch(64.3% 0.204 293.4);
Tailwind
colors: {
  custom: {
    50: '#ba97fd',
    500: '#966cfb',
    950: '#000000',
  },
}
SCSS
$custom: #966cfb;
$custom-light: #ba97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#966cfb",
  "rgb": {
    "r": 150,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 257.622,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.20421,
    "h": 293.4
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #966CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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