#966EFB#966EFB

#966EFB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.6% C 0.201 H 293.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#966EFB
RGBrgb(150, 110, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40.2%, 56.2%, 0%, 1.6%)
CIE-LABlab(56.68, 47.00, -65.20)
CIE-LCHlch(56.68, 80.38, 305.78°)
OKLaboklab(64.63% 0.0787 -0.1855)
OKLCHoklch(64.63% 0.201 293)
XYZxyz(35.5615, 24.6000, 94.1227)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#966EFB #D3FB6E
analogous
#6E8CFB #966EFB #DC6EFB
triadic
#966EFB #FB966E #6EFB96
tetradic
#966EFB #FB6E8C #D3FB6E #6EFBDC
square
#966EFB #FB6E8C #D3FB6E #6EFBDC
split-complementary
#966EFB #FBDC6E #8CFB6E
monochromatic
#4606E8 #6B32F9 #966EFB #C1AAFD #E9E1FE

Accessibility & contrast

On white

3.55
#966EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#966EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #966EFB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##966EFB#FFFFFF#000000##000000
##966EFB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#2D85F8
Tritanopia (blue-blind)
#7B8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #966efb;
/* rgb */ color: rgb(150, 110, 251);
/* oklch */ color: oklch(64.6% 0.201 293.0);
Tailwind
colors: {
  custom: {
    50: '#ba99fd',
    500: '#966efb',
    950: '#000000',
  },
}
SCSS
$custom: #966efb;
$custom-light: #ba99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#966efb",
  "rgb": {
    "r": 150,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 257.021,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.20146,
    "h": 293
  },
  "luminance": 0.24601
}

Semantic roles & 50–950 ramp

primary
#966EFB
secondary
#EBF5CF
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #966EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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